improved the message when there is no module path override

This commit is contained in:
Brian Coca 2015-11-05 14:26:23 -05:00
parent aa034f4fcf
commit 95604573ee

View file

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