diff options
author | David Lehman <dlehman@redhat.com> | 2011-12-13 12:23:52 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2011-12-19 11:19:56 -0600 |
commit | 58d7cc4e4f6a16bb1d474caf28110d225774918a (patch) | |
tree | 7b929e6ff226ee254fd40c2d870b23b54ff3f9b8 /pyanaconda/yuminstall.py | |
parent | a367553816d9fbefde3381c5e2fe47ad65b1f578 (diff) | |
download | anaconda-58d7cc4e4f6a16bb1d474caf28110d225774918a.tar.gz anaconda-58d7cc4e4f6a16bb1d474caf28110d225774918a.tar.xz anaconda-58d7cc4e4f6a16bb1d474caf28110d225774918a.zip |
Put NoSuchGroup and DispatchError back, but not in errors.py. (#760786)
Their use is very limited, so just define them in the modules that
use them primarily.
Diffstat (limited to 'pyanaconda/yuminstall.py')
-rw-r--r-- | pyanaconda/yuminstall.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py index cdf32ecf9..cd78d7243 100644 --- a/pyanaconda/yuminstall.py +++ b/pyanaconda/yuminstall.py @@ -72,6 +72,9 @@ urlgrabber.grabber.default_grabber.opts.user_agent = "%s (anaconda)/%s" %(produc import iutil import isys +class NoSuchGroup(Exception): + pass + def size_string (size): def number_format(s): return locale.format("%s", s, 1) |