# HG changeset patch # User Paul Boddie # Date 1315141670 -7200 # Node ID 88f48779850aa3f73646a635acbf26848c7e4e55 # Parent 0e4404b6cc6eeff8db2145080784dd09494c421f Handle end datetimes that are missing or empty. diff -r 0e4404b6cc6e -r 88f48779850a EventAggregatorSupport.py --- a/EventAggregatorSupport.py Thu Sep 01 19:58:10 2011 +0200 +++ b/EventAggregatorSupport.py Sun Sep 04 15:07:50 2011 +0200 @@ -1003,7 +1003,7 @@ # Permit omission of the end of the event by duplicating the start. - if self.details.has_key("start") and not self.details.has_key("end"): + if self.details.has_key("start") and not self.details.get("end"): end = self.details["start"] # Make any end time refer to the day instead.