Commit Graph

1 Commits

Author SHA1 Message Date
Mikhail Golubev
f5b93393fc Do not ignore import element completely if qualifier was resolved to namespace package
Consider the case when we are trying to invoke auto completion in
"import foo.bar.<caret>". Previously (mistakenly) type of
qualifier "foo.bar" was PyImportedModuleType(bar), which could not be
successfully resolved unless there is some other top-level "bar" module
under project roots. Now it's correct PyImportModuleType(foo.bar).
2014-11-11 18:34:07 +03:00