git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaked template tests to use PEP 8 imports and the new setup_test_template_loader...
[philo.git]
/
validators.py
diff --git
a/validators.py
b/validators.py
index
5ae9409
..
c8e5dc9
100644
(file)
--- a/
validators.py
+++ b/
validators.py
@@
-118,7
+118,7
@@
class TemplateValidationParser(Parser):
def linebreak_iter(template_source):
def linebreak_iter(template_source):
- # Cribbed from django/views/debug.py
+ # Cribbed from django/views/debug.py
:18
yield 0
p = template_source.find('\n')
while p >= 0:
yield 0
p = template_source.find('\n')
while p >= 0: