We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c581dd + 5121abc commit 8021250Copy full SHA for 8021250
samples/blob/block_blob_usage.py
@@ -157,6 +157,7 @@ def copy_blob(self):
157
copy = self.service.copy_blob(container_name, 'blob1copy', source)
158
159
# Poll for copy completion
160
+ count = 0
161
while copy.status != 'success':
162
count = count + 1
163
if count > 5:
@@ -443,4 +444,4 @@ def blocks(self):
443
444
new_block_list.append(block_list.uncommitted_blocks[0])
445
self.service.put_block_list(container_name, blob_name, new_block_list)
446
- self.service.delete_container(container_name)
447
+ self.service.delete_container(container_name)
0 commit comments