Skip to content

Commit f2e0ad8

Browse files
committedMay 9, 2018
Also handle is not None in jinjify
h/t @felixfontein Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 86e4d61 commit f2e0ad8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎scripts/jinjify.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
['abs(i - current_page)', '(i - current_page)|abs'],
2828
['loop.index', 'loop.index0'],
2929
['is None', 'is none'],
30+
['is not None', 'is not none'],
3031
]
3132

3233
dumber_replacements = [

0 commit comments

Comments
 (0)