From ad06ecd663388d31e24ed8a915cbb75c8c09e5e3 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 12 Aug 2005 17:02:54 +0000 Subject: Use new logging system. --- desktop.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'desktop.py') 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 () -- cgit