From 5acbc69a3e43aac67cc43b935c2e81cc6f80cbc9 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Tue, 25 Jul 2017 17:57:07 -0400 Subject: [PATCH] Fixed variable name in FormulaRepo.py --- lib/FormulaRepo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/FormulaRepo.py b/lib/FormulaRepo.py index 0d508f1..2d9463c 100644 --- a/lib/FormulaRepo.py +++ b/lib/FormulaRepo.py @@ -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