summaryrefslogtreecommitdiffstats
path: root/desktop.py
diff options
context:
space:
mode:
Diffstat (limited to 'desktop.py')
-rw-r--r--desktop.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop.py b/desktop.py
index 8c17f9f82..9178c3d01 100644
--- a/desktop.py
+++ b/desktop.py
@@ -15,10 +15,11 @@
import string
-
-from rhpl.log import log
from rhpl.simpleconfig import SimpleConfigFile
+import logging
+log = logging.getLogger("anaconda")
+
class Desktop (SimpleConfigFile):
#
# This class represents the default desktop to run and the default runlevel
@@ -46,7 +47,7 @@ class Desktop (SimpleConfigFile):
try:
inittab = open (instPath + '/etc/inittab', 'r')
except IOError:
- log ("WARNING, there is no inittab, bad things will happen!")
+ log.warning ("there is no inittab, bad things will happen!")
return
lines = inittab.readlines ()
inittab.close ()