Skip to content

Instantly share code, notes, and snippets.

@Atothendrew
Created September 2, 2015 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Atothendrew/6012e8a751cd136a1607 to your computer and use it in GitHub Desktop.
Save Atothendrew/6012e8a751cd136a1607 to your computer and use it in GitHub Desktop.
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