diff --git a/lib/FormulaRepo.py b/lib/FormulaRepo.py index 723bd07..099bde9 100644 --- a/lib/FormulaRepo.py +++ b/lib/FormulaRepo.py @@ -1,4 +1,4 @@ -from lib import Utils +from lib.Utils import Utils import os import sh import sys @@ -27,7 +27,7 @@ class FormulaRepo(): branch_lines = self.repo.branch() # loop through the branches for line in branch_lines: - bits = Utils.Utils.remove_ansi_from_list(line.split()) + bits = Utils.remove_ansi_from_list(line.split()) # check if the branch was marked as current if bits[0] == '*': branches.append(bits[1]) @@ -42,7 +42,7 @@ class FormulaRepo(): branches = self.repo.branch() # loop through the branches for line in branches: - bits = Utils.Utils.remove_ansi_from_list(line.split()) + bits = Utils.remove_ansi_from_list(line.split()) # check for if a branch is listed as current if bits[0] == '*': # return the branch name