[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PageTemplates/utils.py
minor whitespace cleanup
Andreas Jung
andreas at andreas-jung.com
Sat Aug 2 07:27:54 EDT 2008
Log message for revision 89192:
minor whitespace cleanup
Changed:
U Zope/trunk/lib/python/Products/PageTemplates/utils.py
-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/utils.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/utils.py 2008-08-02 11:20:56 UTC (rev 89191)
+++ Zope/trunk/lib/python/Products/PageTemplates/utils.py 2008-08-02 11:27:54 UTC (rev 89192)
@@ -56,7 +56,6 @@
return None
-
def convertToUnicode(source, content_type, preferred_encodings):
""" Convert 'source' to unicode.
@@ -68,7 +67,6 @@
return unicode(source, encoding), encoding
elif content_type.startswith('text/html'):
-
encoding = charsetFromMetaEquiv(source)
if encoding:
return unicode(source, encoding), encoding
@@ -85,4 +83,3 @@
continue
return unicode(source), None
-
More information about the Zope-Checkins
mailing list