소스 검색

Ignore IOErrors from xattr module

Jonas Borgström 14 년 전
부모
커밋
59e33ab29f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      darc/archive.py

+ 1 - 1
darc/archive.py

@@ -202,7 +202,7 @@ class Archive(object):
             for k, v in xattrs.items():
                 try:
                     xa.set(k, v)
-                except KeyError:
+                except (IOError, KeyError):
                     pass
         if have_lchmod:
             os.lchmod(path, item['mode'])