Remove string concatenation in favor of string formatting

Some of the modules still utilized string concatenation
instead of using formatting.  In order to align with other
modules in the project, I refactored these modules to use string
formatting instead.

Change-Id: I708392e1d03b6331a134419aa0ae9dc02a05c31b
Closes-Bug: 1522738
This commit is contained in:
Steve Wilkerson
2015-12-09 08:38:52 -06:00
committed by Jean-Emile DARTOIS
parent 62570525ad
commit 1c49d07912
8 changed files with 20 additions and 31 deletions

View File

@@ -34,7 +34,7 @@ class TriggerActionPlan(object):
action_plan_uuid)
cmd.execute()
except Exception as e:
LOG.error("do_launch_action_plan " + unicode(e))
LOG.exception(e)
def launch_action_plan(self, context, action_plan_uuid):
LOG.debug("Trigger ActionPlan %s" % action_plan_uuid)