1.1 --- a/actions/EventAggregatorSummary.py Thu Jun 10 01:33:09 2010 +0200
1.2 +++ b/actions/EventAggregatorSummary.py Thu Jul 08 02:17:12 2010 +0200
1.3 @@ -294,7 +294,9 @@
1.4 request.write('<title>%s</title>\r\n' % path_info[1:])
1.5 request.write('<link>%s%s</link>\r\n' % (request.getBaseURL(), path_info))
1.6 request.write('<description>Events published on %s%s</description>\r\n' % (request.getBaseURL(), path_info))
1.7 - request.write('<lastBuildDate>%s</lastBuildDate>\r\n' % EventAggregatorSupport.getHTTPTimeString(latest_timestamp))
1.8 +
1.9 + if latest_timestamp is not None:
1.10 + request.write('<lastBuildDate>%s</lastBuildDate>\r\n' % EventAggregatorSupport.getHTTPTimeString(latest_timestamp))
1.11
1.12 # Sort all_shown_events by start date, reversed:
1.13 #