Made some functions private in the Formula and FormulaRepo classes
This commit is contained in:
parent
2ef1620e8e
commit
a7b7baec9d
@ -11,10 +11,10 @@ class Formula():
|
||||
self.formulas_dir = formulas_dir
|
||||
self.formulas_url = formulas_url
|
||||
self.formula_def = formula_def
|
||||
self.parse_entry()
|
||||
self.__parse_entry()
|
||||
|
||||
# sets the formula's git_url and local_path variables
|
||||
def parse_entry(self):
|
||||
def __parse_entry(self):
|
||||
# define our function variables here
|
||||
git_url = ''
|
||||
local_path = ''
|
||||
|
@ -16,7 +16,7 @@ class FormulaRepo():
|
||||
self.repo_path = formula.local_path
|
||||
|
||||
# sets up our class' repo instance
|
||||
def bake(self):
|
||||
def __bake(self):
|
||||
self.repo = sh.git.bake(_cwd=self.repo_path)
|
||||
|
||||
# list of git branches
|
||||
@ -68,7 +68,7 @@ class FormulaRepo():
|
||||
print(self.repo_path + ' already exists, so we\'re not downloading it again.')
|
||||
|
||||
# set up our class repo instance
|
||||
self.bake()
|
||||
self.__bake()
|
||||
|
||||
# check if the repo is up to date
|
||||
def check_tracking_info(self, branch):
|
||||
|
Loading…
Reference in New Issue
Block a user