1
0
forked from VimPlug/jedi

test for is_nested failure

This commit is contained in:
Dave Halter
2014-05-16 13:00:13 +02:00
parent 8e27ed556e
commit 4e596060b9
4 changed files with 14 additions and 3 deletions

View File

@@ -795,7 +795,7 @@ class Import(Simple):
import foo.bar
"""
return not self.alias and not self.from_ns \
return not self.alias and not self.from_ns and self.namespace is not None \
and len(self.namespace.names) > 1