Change the welcome message to be slightly different
when running in local mode vs non-local mode, which is useful when tracking what is happening in the console and in the logs that are written out later.
This commit is contained in:
parent
50c5dc6931
commit
cef7bb96d7
@ -160,7 +160,10 @@ def main_init(name, args):
|
|||||||
# objects config as it may be different from init object
|
# objects config as it may be different from init object
|
||||||
# 10. Run the modules for the 'init' stage
|
# 10. Run the modules for the 'init' stage
|
||||||
# 11. Done!
|
# 11. Done!
|
||||||
w_msg = welcome_format(name)
|
if not args.local:
|
||||||
|
w_msg = welcome_format(name)
|
||||||
|
else:
|
||||||
|
w_msg = welcome_format("%s-local" % (name))
|
||||||
init = stages.Init(deps)
|
init = stages.Init(deps)
|
||||||
# Stage 1
|
# Stage 1
|
||||||
init.read_cfg(extract_fns(args))
|
init.read_cfg(extract_fns(args))
|
||||||
|
Loading…
Reference in New Issue
Block a user