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