mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-02 20:59:06 +08:00
MockModuleBuilder.SCMBuilder: remove unused method
This commit is contained in:
@@ -856,11 +856,6 @@ class SCMBuilder(BaseBuilder):
|
||||
src_dir = repo_path[len("file://"):]
|
||||
f.write("config_opts['scm_opts']['ext_src_dir'] = '{}'\n".format(src_dir))
|
||||
|
||||
def _make_executable(self, path):
|
||||
mode = os.stat(path).st_mode
|
||||
mode |= (mode & 0o444) >> 2 # copy R bits to X
|
||||
os.chmod(path, mode)
|
||||
|
||||
def _get_distgit_commands(self, source):
|
||||
for host, cmds in conf.distgits.items():
|
||||
if source.startswith(host):
|
||||
|
||||
Reference in New Issue
Block a user