From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RZFUV-0006Wv-5H for garchives@archives.gentoo.org; Sat, 10 Dec 2011 05:28:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC1CD21C09D; Sat, 10 Dec 2011 05:28:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 727EC21C09D for ; Sat, 10 Dec 2011 05:28:47 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C212C1B4009 for ; Sat, 10 Dec 2011 05:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id E26A880042 for ; Sat, 10 Dec 2011 05:28:45 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <5dfa6ccea15ae4b71756a7cb581a5a83392fc33a.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/exception.py X-VCS-Directories: pym/portage/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: 5dfa6ccea15ae4b71756a7cb581a5a83392fc33a Date: Sat, 10 Dec 2011 05:28:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 591901ff-0e82-4a82-9abb-0c63f33600ca X-Archives-Hash: 703c079e51364a6eeacb969a992b5c5b commit: 5dfa6ccea15ae4b71756a7cb581a5a83392fc33a Author: Arfrever Frehtes Taifersar Arahesis Gentoo Org> AuthorDate: Sat Dec 10 05:26:32 2011 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gentoo org> CommitDate: Sat Dec 10 05:26:32 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D5dfa6cce Add portage.exception.OperationNotSupported exception. --- pym/portage/exception.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pym/portage/exception.py b/pym/portage/exception.py index 7891120..5ccd750 100644 --- a/pym/portage/exception.py +++ b/pym/portage/exception.py @@ -78,6 +78,10 @@ class OperationNotPermitted(PortageException): from errno import EPERM as errno """An operation was not permitted operating system""" =20 +class OperationNotSupported(PortageException): + from errno import EOPNOTSUPP as errno + """Operation not supported""" + class PermissionDenied(PortageException): from errno import EACCES as errno """Permission denied"""