for Amiran
This commit is contained in:
@@ -53,8 +53,8 @@ try:
|
||||
actualVersions.append(actualObject)
|
||||
|
||||
for file_marker in listing['body']['markers']:
|
||||
file_key = file_marker['key']
|
||||
file_version = file_marker['versionId']
|
||||
file_key = file_marker['key']
|
||||
file_version = file_marker['versionId']
|
||||
deleteMarkerObject = {
|
||||
"key": file_key,
|
||||
"version": file_version
|
||||
@@ -63,10 +63,10 @@ try:
|
||||
|
||||
# going to next file page
|
||||
|
||||
if listing['body']['head']['isTruncated'] == True:
|
||||
mark = listing['body']['head']['nextKeyMarker']
|
||||
else:
|
||||
break
|
||||
if listing['body']['head']['isTruncated'] == True:
|
||||
mark = listing['body']['head']['nextKeyMarker']
|
||||
else:
|
||||
break
|
||||
|
||||
# now doing the right way
|
||||
|
||||
|
||||
Reference in New Issue
Block a user