[py3k] Import StringIO from six
authorRémi Cardona <remi.cardona@free.fr>
Sun, 20 Jul 2014 13:00:53 +0200
changeset 746 2c51ddf1fce5
parent 745 8e53b305c77b
child 747 3d80ee7bd789
[py3k] Import StringIO from six
__init__.py
analyze.py
--- a/__init__.py	Mon Dec 01 17:14:15 2014 +0100
+++ b/__init__.py	Sun Jul 20 13:00:53 2014 +0200
@@ -23,7 +23,8 @@
 
 import sys
 import threading
-from cStringIO import StringIO
+
+from six import StringIO
 
 from rql._exceptions import *
 
--- a/analyze.py	Mon Dec 01 17:14:15 2014 +0100
+++ b/analyze.py	Sun Jul 20 13:00:53 2014 +0200
@@ -22,9 +22,10 @@
 
 
 import os
-from cStringIO import StringIO
 from itertools import izip
 
+from six import StringIO
+
 from rql import TypeResolverException, nodes