From 39d6514edaae4eda8a3679b114510f9911e834c1 Mon Sep 17 00:00:00 2001 From: ronnyabraham Date: Sun, 3 Nov 2019 17:43:09 +0200 Subject: [PATCH] fixed some import statements so they fucntion properly --- modules/pip.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/pip.py b/modules/pip.py index 44e707e..f16b359 100644 --- a/modules/pip.py +++ b/modules/pip.py @@ -156,7 +156,7 @@ def freeze(param='help'): \tFalse (default) - print the freeze output to the console """ - from utils import booleanize, handle_help + from .utils import booleanize, handle_help if handle_help(param, msg_help, 'help'): sys.exit() @@ -218,7 +218,7 @@ def copyto(branch): "This will simply copy over \n\tthe requirements file for " "this branch with itself", ERROR_BAD_BRANCH_PARAM) - from initialize import get_config + from .initialize import get_config branch_config = get_config(branch) @@ -237,10 +237,10 @@ def copyto(branch): "destination branch '{branch_dst}'. Continue? Y/n ".format( branch_src=configuration.project.branch, branch_dst=branch) - from utils import prompt_continue + from .utils import prompt_continue prompt_continue(message=message) - from utils import upload_template + from .utils import upload_template upload_template( filename=configuration.virtualenv.requirements.filename, destination=branch_local_path,