summaryrefslogtreecommitdiffstats
path: root/iw/package_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/package_gui.py')
-rw-r--r--iw/package_gui.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/iw/package_gui.py b/iw/package_gui.py
index 2ff69de11..2de4e6ee7 100644
--- a/iw/package_gui.py
+++ b/iw/package_gui.py
@@ -33,9 +33,10 @@ from hdrlist import PKGTYPE_MANDATORY, PKGTYPE_DEFAULT, PKGTYPE_OPTIONAL
from hdrlist import ON, MANUAL_ON, OFF, MANUAL_OFF, MANUAL_NONE
from hdrlist import ON_STATES, OFF_STATES
from hdrlist import Package, Group
-from rhpl.log import log
import packages
+import logging
+log = logging.getLogger("anaconda")
def queryUpgradeContinue(intf):
rc = intf.messageWindow(_("Proceed with upgrade?"),
@@ -615,12 +616,12 @@ class PackageSelectionWindow (InstallWindow):
if sel not in ON_STATES:
comp.selectPackage(pkg)
else:
- log("%s already selected, not selecting!" %(pkg,))
+ log.warning("%s already selected, not selecting!" %(pkg,))
else:
if sel in ON_STATES:
comp.unselectPackage(pkg)
else:
- log("%s already unselected, not unselecting!" %(pkg,))
+ log.warning("%s already unselected, not unselecting!" %(pkg,))
if sizeLabel:
self.setDetailSizeLabel(comp, sizeLabel)