Add portage.exception.OperationNotSupported exception.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sat, 10 Dec 2011 05:26:32 +0000 (06:26 +0100)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sat, 10 Dec 2011 05:26:32 +0000 (06:26 +0100)
pym/portage/exception.py

index 789112072710c5e3153502f0dcf6439504c131f2..5ccd750ab34986b23457fe98d5bede626fae8087 100644 (file)
@@ -78,6 +78,10 @@ class OperationNotPermitted(PortageException):
        from errno import EPERM as errno
        """An operation was not permitted operating system"""
 
+class OperationNotSupported(PortageException):
+       from errno import EOPNOTSUPP as errno
+       """Operation not supported"""
+
 class PermissionDenied(PortageException):
        from errno import EACCES as errno
        """Permission denied"""