Fixed the function to switch git repo branches

This commit is contained in:
Gregory Ballantine 2017-07-31 10:34:03 -04:00
parent 4e36bb0cf4
commit d9ad1454e3

View File

@ -53,7 +53,8 @@ class FormulaRepo():
# switch to branch # switch to branch
def switch_branch(self, branch): def switch_branch(self, branch):
self.repo.checkout('branch') print('Switching %s to the \'%s\' branch' % (self.repo_path, branch))
self.repo.checkout(branch)
# retrieves repo from remote location # retrieves repo from remote location
def retrieve(self): def retrieve(self):