Fixed some variable calls in the FormulaRepo class

This commit is contained in:
Gregory Ballantine 2017-07-20 11:51:11 -04:00
parent 9c904d0df2
commit 6bd2fed07b

View File

@ -18,8 +18,8 @@ class FormulaRepo():
# check if the destination directory exists # check if the destination directory exists
if not os.path.exists(self.repo_path): if not os.path.exists(self.repo_path):
# clone git repo # clone git repo
print('Downloading ' + git_url + ' into ' + self.repo_path) print('Downloading ' + self.repo_url + ' into ' + self.repo_path)
self.repo = Repo.clone_from(repo_url, self.repo_path) self.repo = Repo.clone_from(self.repo_url, self.repo_path)
else: else:
# let the user know it's already downloaded so we'll update it later # let the user know it's already downloaded so we'll update it later
print(self.repo_path + ' already exists, so we\'re not downloading it again.') print(self.repo_path + ' already exists, so we\'re not downloading it again.')