summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-11-11 22:32:13 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2008-11-11 22:32:13 +0000
commita8023e710b170adcb825b7f7a1af5775f9c0d7b3 (patch)
tree988e16f0140a9078b7e03e19999080243f968926 /rdiff-backup
parent76f2dd999ed88465731fca5ed18604728aa92314 (diff)
downloadrdiff-backup-a8023e710b170adcb825b7f7a1af5775f9c0d7b3.tar.gz
Workaround for broken support for symlink extended attributes in pyxattr <
0.2.2. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@956 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/eas_acls.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 64ead05..bc3cb4e 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
New in v1.2.3 (????/??/??)
---------------------------
+Workaround for broken support for symlink extended attributes in pyxattr <
+0.2.2. Thanks to Leo Bergolth for reporting the issue. (Andrew Ferguson)
+
Handle ELOOP ("Too many levels of symbolic links") error when reading extended
attributes from symlinks. Closes Savannah bug #24790. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py
index 8fa4035..e13efd1 100644
--- a/rdiff-backup/rdiff_backup/eas_acls.py
+++ b/rdiff-backup/rdiff_backup/eas_acls.py
@@ -79,6 +79,8 @@ class ExtendedAttributes:
# File probably modified while reading, just continue
if exc[0] == errno.ENODATA: continue
elif exc[0] == errno.ENOENT: break
+ # Handle bug in pyxattr < 0.2.2
+ elif exc[0] == errno.ERANGE: continue
else: raise
def clear_rp(self, rp):