[CMF-checkins] CVS: CMF - SyndicationTool.py:1.4
tseaver@digicool.com
tseaver@digicool.com
Fri, 25 May 2001 14:32:10 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault
In directory korak.digicool.com:/tmp/cvs-serv22306/CMFDefault
Modified Files:
SyndicationTool.py
Log Message:
- synProps: marshall updateBase as a date.
- SyndicationTool.editProperties(): guarantee that synUpdateBase won't
be a string.
--- Updated File SyndicationTool.py in package CMF --
--- SyndicationTool.py 2001/05/25 15:36:59 1.3
+++ SyndicationTool.py 2001/05/25 18:32:09 1.4
@@ -166,6 +166,8 @@
try: del self.syUpdateFrequency
except KeyError: pass
if updateBase:
+ if type( updateBase ) is type( '' ):
+ updateBase = DateTime( updateBase )
self.syUpdateBase = updateBase
else:
try: del self.syUpdateBase