projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
268decf
)
Print out Azure objects as they are deleted.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Tue, 1 Mar 2011 00:27:46 +0000
(16:27 -0800)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Tue, 1 Mar 2011 00:27:46 +0000
(16:27 -0800)
cleaner/azure.py
patch
|
blob
|
history
diff --git
a/cleaner/azure.py
b/cleaner/azure.py
index
9f0ac51
..
89b4f23
100644
(file)
--- a/
cleaner/azure.py
+++ b/
cleaner/azure.py
@@
-152,12
+152,9
@@
if __name__ == '__main__':
container = 'bluesky'
conn = AzureConnection()
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))):
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)
conn.delete(container, k)