ajack 2004/06/20 14:34:34
Modified: python/gump/syndication Tag: CleanUp rss.py
python/gump/document/xdocs Tag: CleanUp documenter.py
Log:
RSS needed to check description was non-None
Revision Changes Path
No revision
No revision
1.24.2.3 +2 -2 gump/python/gump/syndication/rss.py
Index: rss.py
===================================================================
RCS file: /home/cvs/gump/python/gump/syndication/rss.py,v
retrieving revision 1.24.2.2
retrieving revision 1.24.2.3
diff -u -r1.24.2.2 -r1.24.2.3
--- rss.py 18 Jun 2004 22:21:42 -0000 1.24.2.2
+++ rss.py 20 Jun 2004 21:34:34 -0000 1.24.2.3
@@ -251,7 +251,7 @@
moduleRSS=RSS(rssUrl,rssFile, \
Channel('Gump : Module ' + escape(module.getName()), \
moduleUrl, \
- escape(module.getDescription()), \
+ escape(module.getDescription() or ''), \
self.gumpImage))
datestr=time.strftime('%Y-%m-%d')
@@ -293,7 +293,7 @@
projectRSS=RSS(rssUrl, rssFile, \
Channel('Gump : Project ' + escape(project.getName()), \
projectUrl, \
- escape(project.getDescription()), \
+ escape(project.getDescription() or ''), \
self.gumpImage))
datestr=time.strftime('%Y-%m-%d')
No revision
No revision
1.9.2.19 +1 -1 gump/python/gump/document/xdocs/documenter.py
Index: documenter.py
===================================================================
RCS file: /home/cvs/gump/python/gump/document/xdocs/documenter.py,v
retrieving revision 1.9.2.18
retrieving revision 1.9.2.19
diff -u -r1.9.2.18 -r1.9.2.19
--- documenter.py 20 Jun 2004 19:36:54 -0000 1.9.2.18
+++ documenter.py 20 Jun 2004 21:34:34 -0000 1.9.2.19
@@ -91,7 +91,7 @@
self.syncObject(project)
- # Do once every 5...
+ # Do once every ...
if 0 == (project.getPositionIndex() % 5):
self.documentBuildLog(True)
self.syncBuildLog()
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]