1.1 --- a/EventAggregatorSupport.py Sat Mar 06 22:51:27 2010 +0100
1.2 +++ b/EventAggregatorSupport.py Thu Mar 11 23:43:19 2010 +0100
1.3 @@ -132,9 +132,17 @@
1.4 else:
1.5 line = page._last_edited(page.request) # MoinMoin 1.5.x and 1.6.x
1.6
1.7 - timestamp = line.ed_time_usecs
1.8 - mtime = wikiutil.version2timestamp(long(timestamp)) # must be long for py 2.2.x
1.9 - return {"timestamp" : time.gmtime(mtime), "comment" : line.comment}
1.10 + # Similar to Page.mtime_usecs behaviour...
1.11 +
1.12 + if line:
1.13 + timestamp = line.ed_time_usecs
1.14 + mtime = wikiutil.version2timestamp(long(timestamp)) # must be long for py 2.2.x
1.15 + comment = line.comment
1.16 + else:
1.17 + mtime = 0
1.18 + comment = ""
1.19 +
1.20 + return {"timestamp" : time.gmtime(mtime), "comment" : comment}
1.21
1.22 # Category discovery and searching.
1.23
2.1 --- a/README.txt Sat Mar 06 22:51:27 2010 +0100
2.2 +++ b/README.txt Thu Mar 11 23:43:19 2010 +0100
2.3 @@ -220,6 +220,8 @@
2.4 * Added a script to import events from RSS feeds.
2.5 * Added support for a link entry in event pages, although this does not
2.6 replace the link information provided by the RSS and iCalendar summaries.
2.7 + * Fixed the production of the summaries when pages with no available edit
2.8 + log information are to be included.
2.9
2.10 New in EventAggregator 0.5 (Changes since EventAggregator 0.4)
2.11 --------------------------------------------------------------