More string fixes

This commit is contained in:
Joshua Harlow 2012-03-27 18:01:55 -07:00
parent 043c82f562
commit 41009bd225
2 changed files with 5 additions and 6 deletions

View File

@ -20,7 +20,6 @@ import re
from devstack import date
from devstack import env
from devstack import log as logging
from devstack import settings
from devstack import shell as sh
from devstack import utils

10
stack
View File

@ -86,11 +86,11 @@ def load_rc_files():
fns = [settings.OSRC_FN]
for fn in fns:
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)
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:
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)
@ -165,9 +165,9 @@ def run(args):
runner.run(persona_inst, root_dir)
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))
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)
return True