[CMF-checkins] CVS: CMF/CMFDefault - SyndicationTool.py:1.17

Magnus Heino magnus.heino@home.se
Sun, 9 Feb 2003 12:02:00 -0500


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv12054

Modified Files:
	SyndicationTool.py 
Log Message:
make sure that updateBase is a DateTime


=== CMF/CMFDefault/SyndicationTool.py 1.16 => 1.17 ===
--- CMF/CMFDefault/SyndicationTool.py:1.16	Tue Feb  4 17:38:01 2003
+++ CMF/CMFDefault/SyndicationTool.py	Sun Feb  9 12:01:57 2003
@@ -198,6 +198,8 @@
             syInfo.syUpdateFrequency = self.syUpdateFrequency
 
         if updateBase:
+            if type( updateBase ) is type( '' ):
+                updateBase = DateTime( updateBase )
             syInfo.syUpdateBase = updateBase
         else:
             syInfo.syUpdateBase = self.syUpdateBase