[orca] Temporarily undo a Python 3 change to the regression test logger



commit d9fb9b3ef0368fa3763295e31862cdaee9cb1c85
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu May 10 23:11:33 2012 -0400

    Temporarily undo a Python 3 change to the regression test logger

 src/orca/logger.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/logger.py b/src/orca/logger.py
index 0530d97..a93d489 100644
--- a/src/orca/logger.py
+++ b/src/orca/logger.py
@@ -29,7 +29,7 @@ __copyright__ = "Copyright (c) 2012 Igalia, S.L."
 __license__   = "LGPL"
 
 import logging
-import io
+import StringIO
 
 from . import debug
 
@@ -72,7 +72,7 @@ class Logger:
 
     def _createStreamHandlers(self):
         for logger in self._types:
-            stringIO = io.StringIO()
+            stringIO = StringIO.StringIO()
             handler = logging.StreamHandler(stringIO)
             self._streamHandlers[logger] = [stringIO, handler]
             log = logging.getLogger(logger)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]