Skip to content

Commit c1f2f4d

Browse files
committed
chore: fix flake8 lint on python >= 3.8
1 parent 84c6694 commit c1f2f4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

qiniu/services/storage/uploaders/_default_retrier.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,11 @@ def get_default_retrier(
198198
record_exists_handler=progress_record.exists
199199
))
200200

201-
def handle_change_region(_):
201+
def _handle_change_region(_):
202202
progress_record.delete()
203203

204+
handle_change_region = _handle_change_region
205+
204206
retry_policies += [
205207
EndpointsRetryPolicy(skip_init_context=True),
206208
RegionsRetryPolicy(

0 commit comments

Comments
 (0)