Removed redundant appending of -formula to the default formula path

This commit is contained in:
Gregory Ballantine 2017-07-25 16:38:15 -04:00
parent 0284e05a4e
commit f5d39b3b57

View File

@ -31,7 +31,7 @@ class Formula():
if 'url' in self.formula_def: if 'url' in self.formula_def:
git_url = str(self.formula_def['url']) git_url = str(self.formula_def['url'])
else: else:
git_url = str(self.formulas_url) + str(self.formula_def['name']) + '-formula' git_url = str(self.formulas_url) + str(self.formula_def['name'])
# put together the local # put together the local
local_path = str(self.formulas_dir) + '/' + str(self.formula_def['name']) local_path = str(self.formulas_dir) + '/' + str(self.formula_def['name'])
elif isinstance(self.formula_def, str): elif isinstance(self.formula_def, str):