diff options
Diffstat (limited to 'django/utils/regex_helper.py')
| -rw-r--r-- | django/utils/regex_helper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/utils/regex_helper.py b/django/utils/regex_helper.py index b06acb0191..8d55a79272 100644 --- a/django/utils/regex_helper.py +++ b/django/utils/regex_helper.py @@ -176,8 +176,7 @@ def normalize(pattern): if consume_next: ch, escaped = next(pattern_iter) - else: - consume_next = True + consume_next = True except StopIteration: pass except NotImplementedError: |
