Skip to content

Commit

Permalink
Make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange committed Sep 10, 2023
1 parent f0289b9 commit 3f65b00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion smart_open/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,11 @@ def flush(self):
pass

def terminate(self):
"""On abort, do not commit block list. Uploaded (uncommitted) blocks will be garbage collected after 7 days https://stackoverflow.com/a/69673084/5511061."""
"""Do not commit block list on abort.
Uploaded (uncommitted) blocks will be garbage collected after 7 days.
See also https://stackoverflow.com/a/69673084/5511061."""
logger.debug("terminating")
if not self.closed:
self._block_list = []
Expand Down

0 comments on commit 3f65b00

Please sign in to comment.