From 09c2b3dbc205719298fda6e5a977b1ccce9d227c Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Tue, 7 Aug 2012 23:10:56 +0000 Subject: [PATCH] Fix invalid exception format strings Some exception formation strings were missing the conversion type Change-Id: I99fda0a49acce8c5c1f1b9a09bcaff24140aaf44 --- nova/exception.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nova/exception.py b/nova/exception.py index 7e3976d0f..a7ce890b0 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -179,7 +179,7 @@ class DBError(NovaException): class DeprecatedConfig(NovaException): - message = _("Fatal call to deprecated config %(msg)") + message = _("Fatal call to deprecated config %(msg)s") class DecryptionFailure(NovaException): @@ -1129,11 +1129,11 @@ class CouldNotFetchImage(NovaException): class TaskAlreadyRunning(NovaException): - message = _("Task %(task_name) is already running on host %(host)") + message = _("Task %(task_name)s is already running on host %(host)s") class TaskNotRunning(NovaException): - message = _("Task %(task_name) is not running on host %(host)") + message = _("Task %(task_name)s is not running on host %(host)s") class InstanceIsLocked(InstanceInvalidState):