Closed deathaxe closed 3 years ago
This PR replaces try..finally blocks by with _lock in download_manager module to save some lines of code. It doesn't have any functional effect but seems a bit more pythonic.
try..finally
with _lock
That's possible as python 2.6 support is dropped.
This PR replaces
try..finally
blocks bywith _lock
in download_manager module to save some lines of code. It doesn't have any functional effect but seems a bit more pythonic.That's possible as python 2.6 support is dropped.