1.1 --- a/EventAggregatorSupport.py Thu Jun 10 01:33:09 2010 +0200
1.2 +++ b/EventAggregatorSupport.py Thu Jul 08 02:17:12 2010 +0200
1.3 @@ -706,7 +706,7 @@
1.4 Using 'request', set timestamp details in the details dictionary of each of
1.5 the 'events'.
1.6
1.7 - Retutn the latest timestamp found.
1.8 + Return the latest timestamp found.
1.9 """
1.10
1.11 latest = None
2.1 --- a/actions/EventAggregatorSummary.py Thu Jun 10 01:33:09 2010 +0200
2.2 +++ b/actions/EventAggregatorSummary.py Thu Jul 08 02:17:12 2010 +0200
2.3 @@ -294,7 +294,9 @@
2.4 request.write('<title>%s</title>\r\n' % path_info[1:])
2.5 request.write('<link>%s%s</link>\r\n' % (request.getBaseURL(), path_info))
2.6 request.write('<description>Events published on %s%s</description>\r\n' % (request.getBaseURL(), path_info))
2.7 - request.write('<lastBuildDate>%s</lastBuildDate>\r\n' % EventAggregatorSupport.getHTTPTimeString(latest_timestamp))
2.8 +
2.9 + if latest_timestamp is not None:
2.10 + request.write('<lastBuildDate>%s</lastBuildDate>\r\n' % EventAggregatorSupport.getHTTPTimeString(latest_timestamp))
2.11
2.12 # Sort all_shown_events by start date, reversed:
2.13 #