aboutsummaryrefslogtreecommitdiffstats
path: root/mako/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'mako/exceptions.py')
-rw-r--r--mako/exceptions.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mako/exceptions.py b/mako/exceptions.py
index 7348dc0..491d2af 100644
--- a/mako/exceptions.py
+++ b/mako/exceptions.py
@@ -166,8 +166,6 @@ class RichTraceback(object):
match = re.match(r'\s*# SOURCE LINE (\d+)', line)
if match:
template_ln = int(match.group(1))
- else:
- template_ln += 1
module_ln += 1
line_map[module_ln] = template_ln
template_lines = [line for line in