[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a

Garrett Holmstrom gholms at fedoraproject.org
Sun Jun 16 02:31:21 UTC 2013


The following commit has been merged in the master branch:
commit 461ae19df2fd3951ed761828dc064dbddf6d479d
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Thu May 9 15:36:33 2013 -0700

    Kill off delete-bundle's NIFO mode's delay

diff --git a/euca2ools/commands/bundle/deletebundle.py b/euca2ools/commands/bundle/deletebundle.py
index e4a873b..ff11ab7 100644
--- a/euca2ools/commands/bundle/deletebundle.py
+++ b/euca2ools/commands/bundle/deletebundle.py
@@ -43,7 +43,6 @@ import os
 import shutil
 import sys
 import tempfile
-import time
 
 
 class DeleteBundle(WalrusRequest):
@@ -119,23 +118,6 @@ class DeleteBundle(WalrusRequest):
 
     def _delete_all_bundles(self):
         bucket = self.args.get('bucket')
-        msg = ("All bundles in bucket '{0}' will be deleted!  If this is not "
-               "what you want, press Ctrl+C in the next 10 seconds".format(
-               bucket))
-        print >> sys.stderr, msg
-        try:
-            for __ in range(10):
-                sys.stderr.write('.')
-                sys.stderr.flush()
-                time.sleep(1)
-        except KeyboardInterrupt:
-            print >> sys.stderr
-            print >> sys.stderr, 'Bundle deletion canceled by user.'
-            sys.exit(1)
-        finally:
-            sys.stderr.write('\n')
-            sys.stderr.flush()
-
         directory = tempfile.mkdtemp()
         try:
             manifest_keys = get_manifest_keys(bucket, service=self.service,

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list