Skip to content

Commit

Permalink
- [bug] Fixed regression in 0.7.1 where AST
Browse files Browse the repository at this point in the history
  parsing for Py2.4 was broken.
  [ticket:193]
  • Loading branch information
zzzeek committed Jul 20, 2012
1 parent 9f58240 commit f563f87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.7.2
- [bug] Fixed regression in 0.7.1 where AST
parsing for Py2.4 was broken.
[ticket:193]

0.7.1
- [feature] Control lines with no bodies will
now succeed, as "pass" is added for these
Expand Down
2 changes: 1 addition & 1 deletion mako/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
# the MIT License: http://www.opensource.org/licenses/mit-license.php


__version__ = '0.7.1'
__version__ = '0.7.2'

2 changes: 1 addition & 1 deletion mako/pyparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def _visit_function(self, node, args):

local_ident_stack = self.local_ident_stack
self.local_ident_stack = local_ident_stack.union([
arg_id(arg) for arg in node.argnames
arg for arg in node.argnames
])

for n in node.getChildNodes():
Expand Down

0 comments on commit f563f87

Please sign in to comment.