Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! clean up orphaned blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvansanten committed Feb 16, 2024
1 parent 268e40d commit b3f6d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/02_add_archive_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
)
).returning(Archive.c.uri)
with connection.begin() as transaction:
for row in transaction.execute(statement).fetchall():
for row in connection.execute(statement).fetchall():
key = get_key_for_url(bucket, row["uri"])
print(f"delete {key}")
# bucket.Object(key).delete()
Expand Down

0 comments on commit b3f6d66

Please sign in to comment.