| Index: third_party/logilab/common/ureports/__init__.py
 | 
| diff --git a/third_party/logilab/common/ureports/__init__.py b/third_party/logilab/common/ureports/__init__.py
 | 
| index 65e9641bb3740510d4e746f2f1f307bbb81e0245..dcffcfa3fdc32eab25bce7b5e7eb9d250e77f993 100644
 | 
| --- a/third_party/logilab/common/ureports/__init__.py
 | 
| +++ b/third_party/logilab/common/ureports/__init__.py
 | 
| @@ -20,11 +20,13 @@
 | 
|  A way to create simple reports using python objects, primarily designed to be
 | 
|  formatted as text and html.
 | 
|  """
 | 
| +from __future__ import generators
 | 
|  __docformat__ = "restructuredtext en"
 | 
|  
 | 
|  import sys
 | 
| +from cStringIO import StringIO
 | 
| +from StringIO import StringIO as UStringIO
 | 
|  
 | 
| -from logilab.common.compat import StringIO
 | 
|  from logilab.common.textutils import linesep
 | 
|  
 | 
|  
 | 
| @@ -156,7 +158,7 @@ class BaseWriter(object):
 | 
|          self.writeln = writeln
 | 
|          self.__compute_funcs.append((write, writeln))
 | 
|          for child in layout.children:
 | 
| -            stream = StringIO()
 | 
| +            stream = UStringIO()
 | 
|              child.accept(self)
 | 
|              yield stream.getvalue()
 | 
|          self.__compute_funcs.pop()
 | 
| 
 |