aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mako/codegen.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-05-03 14:42:18 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-05-03 14:42:18 +0000
commit75f32174754479fd26cf6f829577bbb9788a02c9 (patch)
tree36bcf825412593395d04bdf74595bed4af17a019 /lib/mako/codegen.py
parentdd49ed0d7c3a79d2751398160506b8c9d27ad746 (diff)
downloadexternal_python_mako-75f32174754479fd26cf6f829577bbb9788a02c9.tar.gz
external_python_mako-75f32174754479fd26cf6f829577bbb9788a02c9.tar.bz2
external_python_mako-75f32174754479fd26cf6f829577bbb9788a02c9.zip
remove erroneous extra line of declares
Diffstat (limited to 'lib/mako/codegen.py')
-rw-r--r--lib/mako/codegen.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/mako/codegen.py b/lib/mako/codegen.py
index acf5bf1..d59e487 100644
--- a/lib/mako/codegen.py
+++ b/lib/mako/codegen.py
@@ -409,8 +409,6 @@ class _GenerateRenderMethod(object):
self.printer.writeline("def %s(%s):" % (name, ','.join(args)))
- self.write_variable_declares(identifiers, toplevel=toplevel, limit=node_or_pagetag.undeclared_identifiers())
-
# form "arg1, arg2, arg3=arg3, arg4=arg4", etc.
pass_args = [ '=' in a and "%s=%s" % ((a.split('=')[0],)*2) or a for a in args]