summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-11 02:20:26 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-11 02:20:26 +0000
commite0c39e382ba1a66bd9526dc67e7b930fe41b25e7 (patch)
tree3502827db4a51f422c3c3db663b1dccf7d20978a /textw
parent7ef3fd1cde831602d1d2094557ebe270bdec6a08 (diff)
downloadanaconda-e0c39e382ba1a66bd9526dc67e7b930fe41b25e7.tar.gz
anaconda-e0c39e382ba1a66bd9526dc67e7b930fe41b25e7.tar.xz
anaconda-e0c39e382ba1a66bd9526dc67e7b930fe41b25e7.zip
2006-07-10 Jeremy Katz <katzj@redhat.com>
* textw/grpselect_text.py: Fix traceback (#197858)
Diffstat (limited to 'textw')
-rw-r--r--textw/grpselect_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py
index d7368c873..b06c790fb 100644
--- a/textw/grpselect_text.py
+++ b/textw/grpselect_text.py
@@ -12,7 +12,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
-from yum.Errors import PackageSackError
+import yum.Errors
from snack import *
from constants_text import *
from rhpl.translate import _, N_, getDefaultLangs
@@ -50,7 +50,7 @@ class GroupSelectionWindow:
grpid = grp.groupid
try:
pkgs = self.ayum.pkgSack.returnNewestByName(pkg)
- except PackageSackError:
+ except yum.Errors.PackageSackError:
self.ayum.log(4, "no such package %s from group %s" %
(pkg, self.group.groupid))
if pkgs: