ajack 2004/01/15 14:57:13
Modified: python/gump/syndication syndicator.py
Log:
Tweaks to HTML in feeds.
Revision Changes Path
1.15 +8 -8 jakarta-gump/python/gump/syndication/syndicator.py
Index: syndicator.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/syndication/syndicator.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- syndicator.py 15 Jan 2004 19:42:24 -0000 1.14
+++ syndicator.py 15 Jan 2004 22:57:13 -0000 1.15
@@ -99,11 +99,11 @@
content += self.getStateContent(project.getStatePair())
- content += 'Duration in state: <b>' + `stats.sequenceInState` + '</b>
(runs), '
+ content += 'Duration in state: <b>' + `stats.sequenceInState` + '</b>
(runs) '
if not stats.previousState == STATE_NONE \
and not stats.previousState == STATE_UNSET:
- content += 'Previous state: <b>' \
+ content += ', Previous state: <b>' \
+ stateName(stats.previousState) \
+ '</b>'
@@ -133,11 +133,11 @@
content += self.getStateContent(module.getStatePair())
- content += 'Duration in state: <b>' + `stats.sequenceInState` + '</b>
(runs), '
+ content += 'Duration in state: <b>' + `stats.sequenceInState` + '</b>
(runs)'
if not stats.previousState == STATE_NONE \
and not stats.previousState == STATE_UNSET:
- content += 'Previous state: <b>' \
+ content += ', Previous state: <b>' \
+ stateName(stats.previousState) \
+ '</b>'
@@ -146,7 +146,7 @@
if module.hasDescription():
content+='<p>'
content+=module.getDescription()
- content+='<p>'
+ content+='</p>'
content += self.getSundries(module)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]