diff options
author | Chris Lumens <clumens@redhat.com> | 2008-08-04 10:41:54 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-08-04 15:48:01 -0400 |
commit | 924b8fb1283e8c661ccebf2b909bbeff932bbf7b (patch) | |
tree | 594d8fef4ab50b66c9cd0a298e19f1c8a5b42751 /textw | |
parent | 8ad14d48e3b6fe2e259087c6d653382c88fb1a06 (diff) | |
download | anaconda-924b8fb1283e8c661ccebf2b909bbeff932bbf7b.tar.gz anaconda-924b8fb1283e8c661ccebf2b909bbeff932bbf7b.tar.xz anaconda-924b8fb1283e8c661ccebf2b909bbeff932bbf7b.zip |
Break a few functions out of yuminstall.py into their own file.
This is required because keeping them in yuminstall.py means that
system-config-kickstart, which imports GroupSelector, ends up pulling in all
of yuminstall. And we can't do that as non-root because we end up trying
to import the pyblock stuff as well.
Diffstat (limited to 'textw')
-rw-r--r-- | textw/grpselect_text.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textw/grpselect_text.py b/textw/grpselect_text.py index fd33892c6..f74b54c23 100644 --- a/textw/grpselect_text.py +++ b/textw/grpselect_text.py @@ -22,7 +22,7 @@ import yum.Errors from snack import * from constants_text import * -import yuminstall +from compssort import * from constants import * import gettext @@ -75,10 +75,10 @@ class GroupSelectionWindow: # FIXME: this is very yum backend specific... groups = filter(lambda x: x.user_visible, anaconda.backend.ayum.comps.groups) - groups.sort(yuminstall.ui_comps_sort) + groups.sort(ui_comps_sort) ct = CheckboxTree(height = 6, scroll = (len(groups) > 6)) for grp in groups: - ct.append(yuminstall.xmltrans(grp.name, grp.translated_name), + ct.append(xmltrans(grp.name, grp.translated_name), grp, grp.selected) g.add(ct, 0, 2, (0, 0, 0, 1)) |