summaryrefslogtreecommitdiff
path: root/bin/report/render/rml2html/rml2html.py
diff options
context:
space:
mode:
authorStephane Wirtel <stephane@tinyerp.com>2009-01-05 22:02:40 +0100
committerStephane Wirtel <stephane@tinyerp.com>2009-01-05 22:02:40 +0100
commitc5923d87f2b087e54b759c920cdbea041e8ab3ba (patch)
tree1a8ab901905eaa942ca7952414bd9bc659b71719 /bin/report/render/rml2html/rml2html.py
parent7fdf5188af68dda4e81f82cb348e1c5cdb30797e (diff)
[IMP] Use cStringIO
bzr revid: stephane@tinyerp.com-20090105210240-nkg2vm08dwhz2xtq
Diffstat (limited to 'bin/report/render/rml2html/rml2html.py')
-rw-r--r--bin/report/render/rml2html/rml2html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/report/render/rml2html/rml2html.py b/bin/report/render/rml2html/rml2html.py
index c5321b0f2e5..5d005cc45a6 100644
--- a/bin/report/render/rml2html/rml2html.py
+++ b/bin/report/render/rml2html/rml2html.py
@@ -37,7 +37,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import sys
-import StringIO
+import cStringIO
import xml.dom.minidom
import copy
@@ -365,7 +365,7 @@ def parseString(data, fout=None):
fp.close()
return fout
else:
- fp = StringIO.StringIO()
+ fp = cStringIO.StringIO()
r.render(fp)
return fp.getvalue()