From dfb4cb9970f86487f0aaa88c5dfcfafa31e4f430 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Thu, 17 Oct 2013 23:27:45 +0100 Subject: Fixed #21285 -- Fixed E121,E122 pep8 warnings --- django/utils/jslex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'django/utils') diff --git a/django/utils/jslex.py b/django/utils/jslex.py index c17d751faa..f042d2e5ee 100644 --- a/django/utils/jslex.py +++ b/django/utils/jslex.py @@ -145,12 +145,12 @@ class JsLexer(Lexer): states = { 'div': # slash will mean division both_before + [ - Tok("punct", literals("/= /"), next='reg'), + Tok("punct", literals("/= /"), next='reg'), ] + both_after, 'reg': # slash will mean regex both_before + [ - Tok("regex", + Tok("regex", r""" / # opening slash # First character is.. -- cgit v1.3