From 41009bd2256b0df8219ad2473c48da47911370d5 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 27 Mar 2012 18:01:55 -0700 Subject: [PATCH] More string fixes --- devstack/env_rc.py | 1 - stack | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/devstack/env_rc.py b/devstack/env_rc.py index b9d56c12..e9c0755d 100644 --- a/devstack/env_rc.py +++ b/devstack/env_rc.py @@ -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 diff --git a/stack b/stack index d6d8a27e..ef1accb9 100755 --- a/stack +++ b/stack @@ -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