# HG changeset patch # User Paul Boddie # Date 1309038942 -7200 # Node ID 2713c85b03df92bac18196790da7f04c2d53c4f6 # Parent 309fccde0b17d061812fa702f2c33cc886e4ed3d Include events with no location in the unpositioned events. diff -r 309fccde0b17 -r 2713c85b03df macros/EventAggregator.py --- a/macros/EventAggregator.py Sat Jun 25 23:50:08 2011 +0200 +++ b/macros/EventAggregator.py Sat Jun 25 23:55:42 2011 +0200 @@ -1592,7 +1592,14 @@ output.append(fmt.image(map_image_url)) output.append(fmt.number_list(on=1)) - unpositioned_events = [] + # Events with no location are unpositioned. + + if events_by_location.has_key(None): + unpositioned_events = events_by_location[None] + del events_by_location[None] + else: + unpositioned_events = [] + event_locations = event_locations.items() event_locations.sort()