[CMF-checkins] CVS: Products/CMFCore - FSPageTemplate.py:1.30

Jens Vagelpohl jens at dataflake.org
Mon Mar 7 06:29:37 EST 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv9819/CMFCore

Modified Files:
	FSPageTemplate.py 
Log Message:
- logic error


=== Products/CMFCore/FSPageTemplate.py 1.29 => 1.30 ===
--- Products/CMFCore/FSPageTemplate.py:1.29	Mon Mar  7 06:22:07 2005
+++ Products/CMFCore/FSPageTemplate.py	Mon Mar  7 06:29:37 2005
@@ -87,7 +87,7 @@
         if reparse:
             # If we already have a content_type set it must come from a
             # .metadata file and we should always honor that
-            if getattr(self, 'content_type', None) is not None:
+            if getattr(self, 'content_type', None) is None:
                 xml_info = xml_detect_re.match(data)
                 if xml_info:
                     # Smells like xml



More information about the CMF-checkins mailing list