From 008adb25fd14929f2d1be6dd58d382ff6ef62df6 Mon Sep 17 00:00:00 2001 From: Ollie Leahy Date: Tue, 19 Feb 2013 17:54:59 +0000 Subject: [PATCH] Fix syntax error in cinder-volume-usage-audit There was a syntax error in a print statement in cinder-volume-usage-audit which caused the script to crash. Fixes LP bug #1130266 Change-Id: If4b0102ec5218fc8347f97041ac65f633111c26f --- bin/cinder-volume-usage-audit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cinder-volume-usage-audit b/bin/cinder-volume-usage-audit index 89bd3c519..96660839e 100755 --- a/bin/cinder-volume-usage-audit +++ b/bin/cinder-volume-usage-audit @@ -65,7 +65,7 @@ if __name__ == '__main__': logging.setup("cinder") begin, end = utils.last_completed_audit_period() print _("Starting volume usage audit") - msg = _("Creating usages for %(begin_period) until %(end_period)") + msg = _("Creating usages for %(begin_period)s until %(end_period)s") print (msg % {"begin_period": str(begin), "end_period": str(end)}) volumes = db.volume_get_active_by_window(admin_context, begin, -- 2.45.2