summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-03-05 18:34:12 +0000
committerGerrit Code Review <review@openstack.org>2012-03-05 18:34:12 +0000
commitf31d94d27248afef8b5fecddb1249a01a9112bf3 (patch)
tree6632cee0aea22fa2b95eac92a22a42fec127fdf0 /nova/compute
parent2badee254b64c8561f61ffff1e594d14bd7a1dee (diff)
parent534a894ad18c180791aaa685e97cc5264acce922 (diff)
Merge "Only raw string literals should be used with _()"
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 09dbc6911..52f94d41c 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -987,17 +987,17 @@ class ComputeManager(manager.SchedulerDependentManager):
images = fetch_images()
num_images = len(images)
- LOG.debug(_("Found %(num_images)d images (rotation: %(rotation)d)"
- % locals()))
+ LOG.debug(_("Found %(num_images)d images (rotation: %(rotation)d)")
+ % locals())
if num_images > rotation:
# NOTE(sirp): this deletes all backups that exceed the rotation
# limit
excess = len(images) - rotation
- LOG.debug(_("Rotating out %d backups" % excess))
+ LOG.debug(_("Rotating out %d backups") % excess)
for i in xrange(excess):
image = images.pop()
image_id = image['id']
- LOG.debug(_("Deleting image %s" % image_id))
+ LOG.debug(_("Deleting image %s") % image_id)
image_service.delete(context, image_id)
@exception.wrap_exception(notifier=notifier, publisher_id=publisher_id())