python/compat: use cStringIO instead of StringIO in compat.py
[samba.git] / python / samba / compat.py
index aa1ac29136f7848be041a9ebaf03f6b3523378e9..e328cc54574fb40ea8b91a64e49096bbca9fa124 100644 (file)
@@ -92,6 +92,6 @@ else:
     binary_type = str
 
     # alias
-    import StringIO
-    StringIO = StringIO.StringIO
+    import cStringIO
+    StringIO = cStringIO.StringIO
     cmp_fn = cmp