summaryrefslogtreecommitdiffstats
path: root/whiteout.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-08-12 17:02:54 +0000
committerChris Lumens <clumens@redhat.com>2005-08-12 17:02:54 +0000
commitad06ecd663388d31e24ed8a915cbb75c8c09e5e3 (patch)
tree7ec622b907c6b5ba672512bba993a0e109cfdb18 /whiteout.py
parentbe9b1d17b23f3075f12a939cc7d11fe8687edcc9 (diff)
downloadanaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.tar.gz
anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.tar.xz
anaconda-ad06ecd663388d31e24ed8a915cbb75c8c09e5e3.zip
Use new logging system.
Diffstat (limited to 'whiteout.py')
-rw-r--r--whiteout.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/whiteout.py b/whiteout.py
index 518e5c226..2c6280091 100644
--- a/whiteout.py
+++ b/whiteout.py
@@ -7,9 +7,11 @@
import os
import rpm
import rhpl.arch
-from rhpl.log import log
from flags import flags
+import logging
+log = logging.getLogger("anaconda")
+
# set DB_PRIVATE to make rpm happy... do it in here since we include
# this with all of the useful rpm bits
rpm.addMacro("__dbi_cdb", "create private mpool mp_mmapsize=16Mb mp_size=1Mb")
@@ -24,9 +26,9 @@ if flags.selinux:
if os.access(fn, os.R_OK):
break
rpm.addMacro("__file_context_path", fn)
- log("setting file_context_path to %s" %(fn,))
+ log.info("setting file_context_path to %s" %(fn,))
else:
- log("setting file_context_path to nil")
+ log.info("setting file_context_path to nil")
rpm.addMacro("__file_context_path", "%{nil}")
whiteout="""