summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorƁukasz Rogalski <rogalski.91@gmail.com>2017-02-09 08:55:59 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2017-02-09 09:55:59 +0200
commit563031aaf13a44adc8db4f8d0ab8020d550aae00 (patch)
treec28b9d639e860923628025fffc185c0bfb3e4633 /astroid/rebuilder.py
parent9ee1f58ba91a52148829a781f3bfcff6f659139e (diff)
downloadastroid-git-563031aaf13a44adc8db4f8d0ab8020d550aae00.tar.gz
Fix metaclass detection when multiple keyword arguments are used in ClassDef (#402)
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index 4b3506bf..b81f182b 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -317,7 +317,7 @@ class TreeRebuilder(object):
for keyword in node.keywords:
if keyword.arg == 'metaclass':
metaclass = self.visit(keyword, newnode).value
- break
+ break
if node.decorator_list:
decorators = self.visit_decorators(node, newnode)
else: