add import for custom local settings
This commit is contained in:
parent
54654dbf4c
commit
0211723fe9
3 changed files with 8 additions and 4 deletions
|
|
@ -5,8 +5,8 @@ import sys
|
|||
import os
|
||||
import logging
|
||||
|
||||
from utils import virtualenv_source, virtualenv
|
||||
from utils import print_console, printerr
|
||||
from .utils import virtualenv_source, virtualenv
|
||||
from .utils import print_console, printerr
|
||||
|
||||
ERROR_BAD_BRANCH_PARAM = -3
|
||||
ERROR_BAD_PARAM = -2
|
||||
|
|
@ -230,8 +230,8 @@ def copyto(branch):
|
|||
configuration.virtualenv.requirements.local,
|
||||
branch_config.virtualenv.requirements.filename)
|
||||
|
||||
print "current_local_path: %s" % current_local_path
|
||||
print "branch_local_path: %s" % branch_local_path
|
||||
print("current_local_path: %s" % current_local_path)
|
||||
print("branch_local_path: %s" % branch_local_path)
|
||||
|
||||
message = "Copying file from current branch '{branch_src}' to " \
|
||||
"destination branch '{branch_dst}'. Continue? Y/n ".format(
|
||||
|
|
|
|||
|
|
@ -134,3 +134,5 @@ LOGGING = {
|
|||
}
|
||||
}
|
||||
|
||||
# import this AFTER all the above
|
||||
from {{ project_name }}._settings.{{ project_branch }}_custom import *
|
||||
|
|
|
|||
|
|
@ -134,3 +134,5 @@ LOGGING = {
|
|||
}
|
||||
}
|
||||
|
||||
# import this AFTER all the above
|
||||
from {{ project_name }}._settings.{{ project_branch }}_custom import *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue