diff options
author | Chris Lumens <clumens@redhat.com> | 2008-06-05 14:39:27 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-06-05 14:39:27 -0400 |
commit | 4e15268407c353239c55715c5cbffcd25d8fb74f (patch) | |
tree | e9a49a95b00cec248edf58db45d3c5fb3a45c9e5 /errors.py | |
parent | 494fcc58c247206d3d8ad8cb9f2755266e2ddab4 (diff) | |
download | anaconda-4e15268407c353239c55715c5cbffcd25d8fb74f.tar.gz anaconda-4e15268407c353239c55715c5cbffcd25d8fb74f.tar.xz anaconda-4e15268407c353239c55715c5cbffcd25d8fb74f.zip |
Start an errors.py that contains all these small exception classes.
Diffstat (limited to 'errors.py')
-rw-r--r-- | errors.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/errors.py b/errors.py new file mode 100644 index 000000000..fd8b5805e --- /dev/null +++ b/errors.py @@ -0,0 +1,6 @@ +class NoSuchGroup(Exception): + def __init__ (self, value): + self.value = value + + def __str__ (self): + return self.value |