2011-04-05 | Paul Boddie | raw files shortlog changelog graph | Added a fix to getFullMonthLabel, returning an empty string if the month is unspecified. (Originates from revision 128.) | |
EventAggregatorSupport.py (file) |
1.1 --- a/EventAggregatorSupport.py Mon Feb 21 01:05:37 2011 +0100 1.2 +++ b/EventAggregatorSupport.py Tue Apr 05 23:24:25 2011 +0200 1.3 @@ -1486,6 +1486,9 @@ 1.4 'year_month'. 1.5 """ 1.6 1.7 + if not year_month: 1.8 + return "" 1.9 + 1.10 _ = request.getText 1.11 year, month = year_month.as_tuple() 1.12 month_label = _(getMonthLabel(month))