changeset 9:828548cb3e85

cStringIO cannot do unicode imported from: moin--main--1.5--patch-10
author Thomas Waldmann <tw@waldmann-edv.de>
date Fri, 23 Sep 2005 07:35:43 +0000
parents da9701a3facb
children 8959da92eda6
files MoinMoin/request.py
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request.py	Thu Sep 22 23:14:45 2005 +0000
+++ b/MoinMoin/request.py	Fri Sep 23 07:35:43 2005 +0000
@@ -7,11 +7,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import os, time, sys, cgi
-try:
-    import cStringIO as StringIO
-except ImportError:
-    import StringIO
+import os, time, sys, cgi, StringIO
 
 from MoinMoin import config, wikiutil, user, error
 from MoinMoin.util import MoinMoinNoFooter, IsWin9x