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

Jens Vagelpohl jens at dataflake.org
Mon Mar 7 06:30:15 EST 2005


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

Modified Files:
      Tag: CMF-1_5-branch
	FSPageTemplate.py 
Log Message:
- logic error


=== Products/CMFCore/FSPageTemplate.py 1.26.2.3 => 1.26.2.4 ===
--- Products/CMFCore/FSPageTemplate.py:1.26.2.3	Mon Mar  7 06:26:33 2005
+++ Products/CMFCore/FSPageTemplate.py	Mon Mar  7 06:30:14 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