1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 00:07:38 +00:00

Fix Python 3.2 compatibility issue with noatime open().

Closes #164.
This commit is contained in:
Jonas Borgström 2015-01-03 23:12:47 +01:00
parent f342621dff
commit b5a9085717
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,12 @@ Attic Changelog
Here you can see the full list of changes between each Attic release.
Version 0.15
------------
(feature release, released on X)
- Fix Python 3.2 compatibility issue with noatime open() (#164)
Version 0.14
------------

View file

@ -31,6 +31,12 @@
has_lchmod = hasattr(os, 'lchmod')
has_lchflags = hasattr(os, 'lchflags')
# Python <= 3.2 raises OSError instead of PermissionError (See #164)
try:
PermissionError = PermissionError
except NameError:
PermissionError = OSError
class DownloadPipeline: