From: Zac Medico Date: Sun, 15 Sep 2013 00:51:07 +0000 (-0700) Subject: _copyxattr: ignore EOPNOTSUPP from xattr.list() X-Git-Tag: v2.2.5~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=269593bc545ddb1df95985039b47b1201d1691ab;p=portage.git _copyxattr: ignore EOPNOTSUPP from xattr.list() --- diff --git a/pym/portage/util/movefile.py b/pym/portage/util/movefile.py index 1f92b59b7..8ce80f1aa 100644 --- a/pym/portage/util/movefile.py +++ b/pym/portage/util/movefile.py @@ -100,16 +100,10 @@ else: try: attrs = xattr.list(src) - raise_exception = False except IOError as e: - raise_exception = True if e.errno != OperationNotSupported.errno: raise - if raise_exception: - raise OperationNotSupported( - _("Filesystem containing file '%s' " - "does not support listing of extended attributes") % - (_unicode_decode(src),)) + attrs = () if attrs: if exclude is not None and isinstance(attrs[0], bytes):