1.1 --- a/actions/EventAggregatorSummary.py Tue Mar 16 01:06:50 2010 +0100
1.2 +++ b/actions/EventAggregatorSummary.py Wed Mar 17 01:36:28 2010 +0100
1.3 @@ -266,7 +266,7 @@
1.4
1.5 # Optional details.
1.6
1.7 - if event_details.has_key("topics") or event_details.has_key("categories"):
1.8 + if event_details.get("topics") or event_details.get("categories"):
1.9 request.write("CATEGORIES:%s\r\n" % ",".join(
1.10 [getQuotedText(topic) for topic in event_details.get("topics") or event_details.get("categories")]
1.11 ))