Replace the name of the "branch" parameter in "scm.get_latest" to "ref"

This commit is contained in:
mprahl
2017-11-11 09:28:48 -05:00
parent d1548a7049
commit 1622494b17
6 changed files with 28 additions and 27 deletions

View File

@@ -79,8 +79,8 @@ class FakeSCM(object):
return self.sourcedir
def get_latest(self, branch='master'):
return branch
def get_latest(self, ref='master'):
return ref
def get_module_yaml(self):
return path.join(self.sourcedir, self.name + ".yaml")