src/reportlab/lib/utils.py
branchjython25
changeset 3123 e53425121cc4
parent 3119 b9e540d1267a
--- a/src/reportlab/lib/utils.py	Tue Feb 17 17:32:00 2009 +0000
+++ b/src/reportlab/lib/utils.py	Tue Feb 24 16:55:25 2009 +0000
@@ -356,6 +356,8 @@
     if haveImages: del Image
 
 try:
+    #remove after 2.5b2
+    if jython: raise ImportError('jython cStringIO is bad')
     from cStringIO import StringIO as __StringIO
 except ImportError:
     from StringIO import StringIO as __StringIO