# HG changeset patch # User Paul Boddie # Date 1298246417 -3600 # Node ID 8646ffc3021f0d00601a61938f0e98e1974d5535 # Parent f2b8b86168a387eb9c4e7a4a96c37fa6e8313223 Support parameter processing where the incoming value is None. (Imported from revision 128.) diff -r f2b8b86168a3 -r 8646ffc3021f EventAggregatorSupport.py --- a/EventAggregatorSupport.py Mon Feb 21 00:46:38 2011 +0100 +++ b/EventAggregatorSupport.py Mon Feb 21 01:00:17 2011 +0100 @@ -1425,7 +1425,10 @@ n = None - if arg.startswith("current"): + if arg is None: + return None + + elif arg.startswith("current"): date = getCurrentMonth() if len(arg) > 8: n = int(arg[7:])