Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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