Blob Blame Raw
--- yum/logginglevels.py~	2009-01-20 16:56:19.000000000 -0500
+++ yum/logginglevels.py	2009-01-20 16:56:19.000000000 -0500
@@ -141,7 +141,7 @@
     plainformatter = logging.Formatter("%(message)s")
     syslogformatter = logging.Formatter("yum: %(message)s")
     
-    console_stdout = logging.StreamHandler(sys.stdout)
+    console_stdout = logging.StreamHandler(sys.__stdout__)
     console_stdout.setFormatter(plainformatter)
     verbose = logging.getLogger("yum.verbose")
     verbose.propagate = False