From ad358c4ee8d8a34ec17caed417301e773de7a098 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Mon, 28 Feb 2011 16:27:46 -0800 Subject: [PATCH] Print out Azure objects as they are deleted. --- cleaner/azure.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) -- 2.20.1