More string fixes
This commit is contained in:
parent
043c82f562
commit
41009bd225
@ -20,7 +20,6 @@ import re
|
|||||||
from devstack import date
|
from devstack import date
|
||||||
from devstack import env
|
from devstack import env
|
||||||
from devstack import log as logging
|
from devstack import log as logging
|
||||||
from devstack import settings
|
|
||||||
from devstack import shell as sh
|
from devstack import shell as sh
|
||||||
from devstack import utils
|
from devstack import utils
|
||||||
|
|
||||||
|
10
stack
10
stack
@ -86,11 +86,11 @@ def load_rc_files():
|
|||||||
fns = [settings.OSRC_FN]
|
fns = [settings.OSRC_FN]
|
||||||
for fn in fns:
|
for fn in fns:
|
||||||
try:
|
try:
|
||||||
LOG.debug("Attempting to load rc file at [%s] which has your environment settings." % (fn))
|
LOG.info("Attempting to load file %r which has your environment settings." % (fn))
|
||||||
am_loaded = env_rc.RcReader().load(fn)
|
am_loaded = env_rc.RcReader().load(fn)
|
||||||
LOG.debug("Loaded [%s] settings from rc file [%s]" % (am_loaded, fn))
|
LOG.info("Loaded %s settings from file %r" % (am_loaded, fn))
|
||||||
except IOError:
|
except IOError:
|
||||||
LOG.warn('Error reading rc file located at [%s]. Skipping loading it.' % (fn))
|
LOG.warn('Error reading file located at %r. Skipping loading it.' % (fn))
|
||||||
return len(fns)
|
return len(fns)
|
||||||
|
|
||||||
|
|
||||||
@ -165,9 +165,9 @@ def run(args):
|
|||||||
runner.run(persona_inst, root_dir)
|
runner.run(persona_inst, root_dir)
|
||||||
end_time = time.time()
|
end_time = time.time()
|
||||||
|
|
||||||
LOG.info("It took (%s) to complete action [%s]" %
|
LOG.info("It took (%s) to complete action %r" %
|
||||||
(utils.format_secs_taken((end_time - start_time)), action))
|
(utils.format_secs_taken((end_time - start_time)), action))
|
||||||
LOG.info("After action [%s] your settings which were created or read are:" % (action))
|
LOG.info("After action %r your settings which were created or read are:" % (action))
|
||||||
|
|
||||||
dump_config(config.configs_fetched)
|
dump_config(config.configs_fetched)
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user