Fixed variable name in FormulaRepo.py
This commit is contained in:
parent
987698d750
commit
5acbc69a3e
@ -31,8 +31,8 @@ class FormulaRepo():
|
||||
if branch != False:
|
||||
# tracking a specific branch on the repo
|
||||
# check to make sure that the given branch name actually exists first
|
||||
if not tracking_value in self.repo.branches:
|
||||
print('%s is not an existing branch name for %s - please fix this.' % (tracking_value, self.repo_path))
|
||||
if not branch in self.repo.branches:
|
||||
print('%s is not an existing branch name for %s - please fix this.' % (branch, self.repo_path))
|
||||
sys.exit(1)
|
||||
|
||||
repo_branch = self.repo.head.reference
|
||||
|
Loading…
Reference in New Issue
Block a user