diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-23 14:03:36 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-23 14:03:36 +0000 |
commit | 9d286ed385d2e2667c9a0aef4d1d3dde9687baca (patch) | |
tree | 1f1f0ab28a92a3186a050f33f950b2d5005691a2 /textw/grpselect_text.py | |
parent | 7a5be72f09066fd968dfa535887766c1d47df31c (diff) | |
download | anaconda-9d286ed385d2e2667c9a0aef4d1d3dde9687baca.tar.gz anaconda-9d286ed385d2e2667c9a0aef4d1d3dde9687baca.tar.xz anaconda-9d286ed385d2e2667c9a0aef4d1d3dde9687baca.zip |
Fix a traceback on catching an exception.
Diffstat (limited to 'textw/grpselect_text.py')
-rw-r--r-- | textw/grpselect_text.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py index 3c071f124..19dc8a07d 100644 --- a/textw/grpselect_text.py +++ b/textw/grpselect_text.py @@ -12,6 +12,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +from repomd.mdErrors import PackageSackError from snack import * from constants_text import * from rhpl.translate import _, N_, getDefaultLangs @@ -49,7 +50,7 @@ class GroupSelectionWindow: grpid = grp.groupid try: pkgs = self.ayum.pkgSack.returnNewestByName(pkg) - except mdErrors.PackageSackError: + except PackageSackError: self.ayum.log(4, "no such package %s from group %s" % (pkg, self.group.groupid)) if pkgs: |