Fix for multiple classmethod decorators
@@ -893,6 +893,10 @@ class Generator (ast.NodeVisitor):
targetName = '{}.{}'.format(classList, targetName)
for decorator in reversed (node.decorator_list):
+ if type (decorator) == ast.Name:
+ if decorator.id not in ('classmethod', 'staticmethod'):
+ emitDecorator (sourceName, targetName, decorator)
+ else:
emitDecorator(sourceName, targetName, decorator)
for scope in scopes:
