From: Michael Vrable Date: Tue, 1 Mar 2011 00:27:46 +0000 (-0800) Subject: Print out Azure objects as they are deleted. X-Git-Url: http://git.vrable.net/?a=commitdiff_plain;ds=sidebyside;h=ad358c4ee8d8a34ec17caed417301e773de7a098;p=bluesky.git Print out Azure objects as they are deleted. --- diff --git a/cleaner/azure.py b/cleaner/azure.py index 9f0ac51..89b4f23 100644 --- a/cleaner/azure.py +++ b/cleaner/azure.py @@ -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)