Browse code

comprehension fix

Vasileios Mitrousis authored on 2014/03/04 06:12:17
Showing 1 changed files
... ...
@@ -533,8 +533,7 @@ def subcmd_batch_del(uri_str = None, bucket = None, remote_list = None):
533 533
 
534 534
     while True:
535 535
         if cfg.dry_run:
536
-            for key in remote_list:
537
-                output('\n'.join((u"File %s deleted" % remote_list[p]['object_uri_str']) for p in remote_list))
536
+            output('\n'.join((u"File %s deleted" % remote_list[p]['object_uri_str']) for p in remote_list))
538 537
         else:
539 538
             response = s3.object_batch_delete(remote_list)
540 539
             output('\n'.join((u"File %s deleted" % remote_list[p]['object_uri_str']) for p in remote_list))