Removed unused views.debug.linebreak_iter() function.

This commit is contained in:
Tim Graham 2015-09-24 08:17:40 -04:00
parent a780505f3a
commit fd1e54b923
1 changed files with 0 additions and 9 deletions

View File

@ -24,15 +24,6 @@ HIDDEN_SETTINGS = re.compile('API|TOKEN|KEY|SECRET|PASS|SIGNATURE')
CLEANSED_SUBSTITUTE = '********************' CLEANSED_SUBSTITUTE = '********************'
def linebreak_iter(template_source):
yield 0
p = template_source.find('\n')
while p >= 0:
yield p + 1
p = template_source.find('\n', p + 1)
yield len(template_source) + 1
class CallableSettingWrapper(object): class CallableSettingWrapper(object):
""" Object to wrap callable appearing in settings """ Object to wrap callable appearing in settings