forked from VimPlug/jedi
Fix TestFullNameWithCompletions.test_from_import
This commit is contained in:
@@ -144,6 +144,8 @@ class BaseDefinition(object):
|
|||||||
path = []
|
path = []
|
||||||
if not isinstance(self._definition, keywords.Keyword):
|
if not isinstance(self._definition, keywords.Keyword):
|
||||||
par = self._definition
|
par = self._definition
|
||||||
|
with common.ignored(AttributeError):
|
||||||
|
path.append(par.alias)
|
||||||
while par is not None:
|
while par is not None:
|
||||||
with common.ignored(AttributeError):
|
with common.ignored(AttributeError):
|
||||||
path.insert(0, par.name)
|
path.insert(0, par.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user