From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A37D1381F3 for ; Sun, 15 Sep 2013 00:51:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A691E0B17; Sun, 15 Sep 2013 00:51:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03C48E0B17 for ; Sun, 15 Sep 2013 00:51:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 182CC33E95C for ; Sun, 15 Sep 2013 00:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B6B94E468F for ; Sun, 15 Sep 2013 00:51:24 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1379206267.269593bc545ddb1df95985039b47b1201d1691ab.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/movefile.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 269593bc545ddb1df95985039b47b1201d1691ab X-VCS-Branch: master Date: Sun, 15 Sep 2013 00:51:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7073865c-bd80-4080-81ef-e90094316ba6 X-Archives-Hash: f6881dc9fbc429e37116fc0353d960dd commit: 269593bc545ddb1df95985039b47b1201d1691ab Author: Zac Medico gentoo org> AuthorDate: Sun Sep 15 00:51:07 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Sep 15 00:51:07 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=269593bc _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 1f92b59..8ce80f1 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):