fixed some import statements so they fucntion properly

This commit is contained in:
ronnyabraham 2019-11-03 17:43:09 +02:00
parent a5fb86f5cc
commit 39d6514eda

View file

@ -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,