summaryrefslogtreecommitdiffstats
path: root/backend.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-04-02 11:48:22 -0400
committerChris Lumens <clumens@redhat.com>2008-04-02 11:48:36 -0400
commit2a568931477bef8811af6afe5c5392bf4dcc01a2 (patch)
tree9c23ea0268a53122c9dd4e91438911de091ee832 /backend.py
parent75e4010a2d257848e9fc6eb64d02ea1742ba6573 (diff)
downloadanaconda-2a568931477bef8811af6afe5c5392bf4dcc01a2.tar.gz
anaconda-2a568931477bef8811af6afe5c5392bf4dcc01a2.tar.xz
anaconda-2a568931477bef8811af6afe5c5392bf4dcc01a2.zip
Use a better test to see if a package group doesn't exist (#439922).
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend.py b/backend.py
index 4c047a20e..c59ac4cb5 100644
--- a/backend.py
+++ b/backend.py
@@ -35,6 +35,12 @@ from rhpl.translate import _
from flags import flags
log = logging.getLogger("anaconda")
+class NoSuchGroup(Exception):
+ def __init__ (self, value):
+ self.value = value
+
+ def __str__ (self):
+ return self.value
class AnacondaBackend:
def __init__(self, anaconda):