Jelajahi Sumber

Ignore IOErrors from xattr module

Jonas Borgström 14 tahun lalu
induk
melakukan
59e33ab29f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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'])