1
0
forked from VimPlug/jedi

minor changes

This commit is contained in:
Dave Halter
2014-01-17 01:40:30 +01:00
parent 8b34e120e0
commit 33b7c341ab

View File

@@ -277,7 +277,7 @@ class Scope(Simple, IsScope):
checks += [r for r in self.returns if r is not None]
if self.isinstance(Flow):
checks += self.inputs
if isinstance(self, ForFlow):
if self.isinstance(ForFlow) and self.set_stmt is not None:
checks.append(self.set_stmt)
for s in checks: