2017-06-05 | Paul Boddie | raw files shortlog changelog graph | Limit the context information provided for outer selectors. | |
vRecurrence.py (file) |
1.1 --- a/vRecurrence.py Mon Jun 05 18:33:05 2017 +0200 1.2 +++ b/vRecurrence.py Mon Jun 05 18:42:20 2017 +0200 1.3 @@ -339,7 +339,7 @@ 1.4 1.5 if isinstance(from_q, Enum) and level > 0: 1.6 repeat = Pattern(level - 1, {"interval" : 1}, None) 1.7 - repeat.context = tuple(context) 1.8 + repeat.context = tuple(context[:level]) 1.9 l.append(repeat) 1.10 1.11 # Datetime arithmetic.