diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2007-01-25 03:10:44 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2007-01-25 03:10:44 +0000 |
commit | 7dc173e204385896bd121eb4c163d3fbf78dacae (patch) | |
tree | ac5c128e919251c714ec1273a3fe92e92b1d48d4 /rdiff-backup/rdiff_backup/eas_acls.py | |
parent | f1c6e71893149578944f6e117edeb82dc753bd41 (diff) | |
download | rdiff-backup-7dc173e204385896bd121eb4c163d3fbf78dacae.tar.gz |
Allow for preservation of FinderInfo for folders and fix typo in Time.py
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@777 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/eas_acls.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/eas_acls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py index b392d32..37694b5 100644 --- a/rdiff-backup/rdiff_backup/eas_acls.py +++ b/rdiff-backup/rdiff_backup/eas_acls.py @@ -67,8 +67,9 @@ class ExtendedAttributes: if attr.startswith('system.'): # Do not preserve system extended attributes continue - if attr == 'com.apple.FinderInfo' or attr == 'com.apple.ResourceFork': - # FinderInfo and Resource Fork handled elsewhere + if not rp.isdir() and attr == 'com.apple.FinderInfo' or attr == 'com.apple.ResourceFork': + # FinderInfo and Resource Fork handled elsewhere, except + # for directories continue try: self.attr_dict[attr] = rp.conn.xattr.getxattr(rp.path, attr) except IOError, exc: |