From 2ef1620e8eec77f4bd2c58065c9b7e077e23faee Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Mon, 31 Jul 2017 18:01:46 -0400 Subject: [PATCH] Cleaned up the use of calling lib.Utils.Utils --- lib/FormulaRepo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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