Print out Azure objects as they are deleted.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 1 Mar 2011 00:27:46 +0000 (16:27 -0800)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 1 Mar 2011 00:27:46 +0000 (16:27 -0800)
cleaner/azure.py

index 9f0ac51..89b4f23 100644 (file)
@@ -152,12 +152,9 @@ if __name__ == '__main__':
     container = 'bluesky'
     conn = AzureConnection()
 
-    print "Container contents:"
-    for k in conn.list(container):
-        print k
-
     conn.put(container, "testkey", "A" * 40)
     print "Fetch result:", conn.get(container, "testkey")
 
     for k in list(iter(conn.list(container))):
+        print "Deleting", k
         conn.delete(container, k)