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
This commit is contained in:
Ollie Leahy 2013-02-19 17:54:59 +00:00
parent 0c5216265d
commit 008adb25fd

@ -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,