fixed a little statement assignment problem

This commit is contained in:
David Halter
2012-05-12 11:20:03 +02:00
parent b118f7f14f
commit 1fb11dd178
3 changed files with 6 additions and 4 deletions

View File

@@ -193,6 +193,8 @@ class Parser(CachedModule):
code += parsing.indent_block('%s\n\n' % ret)
else:
# generation of code with mixins
# the parser only supports basic functions with a newline after
# the double dots
# find doc_str place
pos = re.search(r'\):\s*\n', mixin).end()
if pos is None: