summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-08-14 18:27:20 -0400
committerCeridwen <ceridwenv@gmail.com>2015-08-14 18:27:20 -0400
commit13d62e91b318a0e96be977717a8f2f3d73d4bcc6 (patch)
treebab731eaf4ff118cfe11b77206b437a684b1d811 /astroid/objects.py
parentd84836b80305a6ea1a05dd5c3f52300bfdb5cbac (diff)
downloadastroid-git-13d62e91b318a0e96be977717a8f2f3d73d4bcc6.tar.gz
Fix issues found in code review
Diffstat (limited to 'astroid/objects.py')
-rw-r--r--astroid/objects.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/astroid/objects.py b/astroid/objects.py
index 056e2d24..9ae21f3a 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -109,10 +109,10 @@ class Super(bases.NodeNG):
raise exceptions.SuperArgumentTypeError(
"The first super argument must be type.")
- if isinstance(self.type, scoped_nodes.ClassDef):
+ if isinstance(self.type, scoped_nodes.ClassDef):
# `super(type, type)`, most likely in a class method.
- self._class_based = True
- mro_type = self.type
+ self._class_based = True
+ mro_type = self.type
else:
mro_type = getattr(self.type, '_proxied', None)
if not isinstance(mro_type, (bases.Instance, scoped_nodes.ClassDef)):