From 39b7e7ea43448cec4f8cf78a514d06a381ceb432 Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Tue, 7 Aug 2012 23:10:56 +0000 Subject: 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(-) (limited to 'nova') 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): -- cgit