Log message for revision 98203: Move deprecation-emitting import out of module scope in untestsed module.
Changed: U Zope/trunk/src/Products/MIMETools/MIMETag.py -=- Modified: Zope/trunk/src/Products/MIMETools/MIMETag.py =================================================================== --- Zope/trunk/src/Products/MIMETools/MIMETag.py 2009-03-17 17:00:31 UTC (rev 98202) +++ Zope/trunk/src/Products/MIMETools/MIMETag.py 2009-03-17 17:01:12 UTC (rev 98203) @@ -15,7 +15,6 @@ from DocumentTemplate.DT_Util import * from DocumentTemplate.DT_String import String -from MimeWriter import MimeWriter from cStringIO import StringIO import mimetools @@ -127,6 +126,7 @@ def render(self, md): + from MimeWriter import MimeWriter # deprecated since Python 2.3! contents=[] IO = StringIO() IO.write("Mime-Version: 1.0\n") _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins