MockModuleBuilder.SCMBuilder: remove unused method

This commit is contained in:
Owen W. Taylor
2020-11-25 08:14:03 -05:00
parent c35730cb33
commit 0b3df48700

View File

@@ -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):