diff options
author | Chris Lumens <clumens@redhat.com> | 2005-08-12 17:02:54 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-08-12 17:02:54 +0000 |
commit | ad06ecd663388d31e24ed8a915cbb75c8c09e5e3 (patch) | |
tree | 7ec622b907c6b5ba672512bba993a0e109cfdb18 /desktop.py | |
parent | be9b1d17b23f3075f12a939cc7d11fe8687edcc9 (diff) | |
download | anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.tar.gz anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.tar.xz anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.zip |
Use new logging system.
Diffstat (limited to 'desktop.py')
-rw-r--r-- | desktop.py | 7 |
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 () |