Added isinstance type checks in the linter.

This commit is contained in:
Dave Halter committed 2015-12-03 16:14:26 +01:00
1 parent 8daa0b8784
commit 21faf2431a
4 files changed
+21 -9

No files matched your search

+2 -2
View File
@@ -208,8 +208,8 @@ class CompiledObject(Base):
# Get rid of side effects, we won't call custom `__getitem__`s.
return
for obj in self.obj:
yield set([CompiledObject(obj)])
for part in self.obj:
yield set([CompiledObject(part)])
return actual
@property