diff options
author | Chris Lumens <clumens@redhat.com> | 2008-04-02 11:48:22 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-04-02 11:48:36 -0400 |
commit | 2a568931477bef8811af6afe5c5392bf4dcc01a2 (patch) | |
tree | 9c23ea0268a53122c9dd4e91438911de091ee832 /backend.py | |
parent | 75e4010a2d257848e9fc6eb64d02ea1742ba6573 (diff) | |
download | anaconda-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.py | 6 |
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): |