Untitled

mail@pastecode.io avatar
unknown
plain_text
13 days ago
571 B
2
Indexable
Never
for snapshot in filtered_snapshots:
    for index in extracted_indices:
        try:
            print('start try')
            restore_snapshot(repository,snapshot,index,True)
            print(extracted_indices)
            extracted_indices[extracted_indices.index(index)] = '0'
            print(extracted_indices)
            print('end try')
            continue
        except:
            print('start except')
            while extracted_indices[0] == '0':
                extracted_indices.pop(0)
            print('end except')
            break
Leave a Comment