Created
September 2, 2015 18:02
-
-
Save Atothendrew/6012e8a751cd136a1607 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import swiftclient | |
container = conn.get_container("test_head_segments") | |
for object in container: | |
if isinstance(object, list): | |
for part in object: | |
if 'name' in part and '80GB' in part['name']: | |
conn.head_object("test_head_segments", part['name']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment