1.1 --- a/vRecurrence.py Tue Feb 10 21:34:26 2015 +0100
1.2 +++ b/vRecurrence.py Tue Feb 10 21:53:52 2015 +0100
1.3 @@ -603,7 +603,14 @@
1.4 return connect_selectors(combine_datetime_with_qualifiers(dt, qualifiers))
1.5
1.6 def get_rule(dt, rule):
1.7 - qualifiers = get_qualifiers(rule)
1.8 +
1.9 + """
1.10 + Using the given initial datetime 'dt', interpret the 'rule' (a semicolon-
1.11 + separated collection of "key=value" strings), and return the resulting
1.12 + selector object.
1.13 + """
1.14 +
1.15 + qualifiers = get_qualifiers(rule.split(";"))
1.16 return get_selector(dt, qualifiers)
1.17
1.18 # vim: tabstop=4 expandtab shiftwidth=4