improved the message when there is no module path override
This commit is contained in:
parent
aa034f4fcf
commit
95604573ee
1 changed files with 5 additions and 1 deletions
|
@ -346,7 +346,11 @@ class CLI(object):
|
||||||
if gitinfo:
|
if gitinfo:
|
||||||
result = result + " {0}".format(gitinfo)
|
result = result + " {0}".format(gitinfo)
|
||||||
result += "\n config file = %s" % C.CONFIG_FILE
|
result += "\n config file = %s" % C.CONFIG_FILE
|
||||||
result = result + "\n configured module search path = %s" % C.DEFAULT_MODULE_PATH
|
if C.DEFAULT_MODULE_PATH is None:
|
||||||
|
cpath = "Default w/o overrides"
|
||||||
|
else:
|
||||||
|
cpath = C.DEFAULT_MODULE_PATH
|
||||||
|
result = result + "\n configured module search path = %s" % cpath
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in a new issue