1.1 --- a/actions/EventAggregatorSummary.py Sun May 17 17:33:11 2009 +0200
1.2 +++ b/actions/EventAggregatorSummary.py Sat Jun 06 02:17:51 2009 +0200
1.3 @@ -166,9 +166,11 @@
1.4 can be specified.
1.5 """
1.6
1.7 - category_names = request.form.get("category", [])
1.8 - format = request.form.get("format", ["iCalendar"])[0]
1.9 - descriptions = request.form.get("descriptions", ["page"])[0]
1.10 + form = request.form
1.11 +
1.12 + category_names = form.get("category", [])
1.13 + format = form.get("format", ["iCalendar"])[0]
1.14 + descriptions = form.get("descriptions", ["page"])[0]
1.15
1.16 # Otherwise, produce an iCalendar resource.
1.17
1.18 @@ -177,8 +179,6 @@
1.19
1.20 # Look for separate start and end years and months.
1.21
1.22 - form = request.form
1.23 -
1.24 if calendar_start is None:
1.25 calendar_start = EventAggregatorSupport.getFormMonthPair(request, "start-year", "start-month")
1.26