Log message for revision 40043:
  Normalize import / usage of StringIO.

Changed:
  U   CMF/branches/tseaver-pkg_resources/CMFDefault/utils.py

-=-
Modified: CMF/branches/tseaver-pkg_resources/CMFDefault/utils.py
===================================================================
--- CMF/branches/tseaver-pkg_resources/CMFDefault/utils.py      2005-11-10 
22:12:05 UTC (rev 40042)
+++ CMF/branches/tseaver-pkg_resources/CMFDefault/utils.py      2005-11-10 
22:12:38 UTC (rev 40043)
@@ -17,7 +17,7 @@
 
 import os
 import re
-import StringIO
+from StringIO import StringIO
 import rfc822
 from cgi import escape
 from sgmllib import SGMLParser
@@ -89,7 +89,7 @@
 
         Allow passing initial dictionary as headers.
     """
-    buffer = StringIO.StringIO(body)
+    buffer = StringIO(body)
     message = rfc822.Message(buffer)
 
     headers = headers and headers.copy() or {}

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to