From 269593bc545ddb1df95985039b47b1201d1691ab Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 14 Sep 2013 17:51:07 -0700 Subject: [PATCH] _copyxattr: ignore EOPNOTSUPP from xattr.list() --- pym/portage/util/movefile.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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): -- 2.26.2