From be9b1d17b23f3075f12a939cc7d11fe8687edcc9 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 11 Aug 2005 21:10:55 +0000 Subject: Converted a lot more messages to the new logging system, but there's still 41 files to go. If your favorite log message needs to be on a different priority level, feel free to change it. Maybe we can have little commit wars over them. --- scripts/pkgorder | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/pkgorder b/scripts/pkgorder index f020d222c..4ed14eada 100755 --- a/scripts/pkgorder +++ b/scripts/pkgorder @@ -5,13 +5,9 @@ import os import os.path import rpm import string +import logging -# FIXME: we really want this information somewhere, but not in the pkgorder -# file itself. -from rhpl.log import log -from anaconda_log import anaconda_log -anaconda_log.open("/dev/null") -log.handler = anaconda_log +log = logging.getLogger("anaconda") # set up rpm dependency whiteouts import whiteout -- cgit