diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2012-04-24 17:16:11 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2012-04-24 17:16:11 +0200 |
commit | 9a3889c5f996b6b1b5bcec5fd5dedbde4e12e163 (patch) | |
tree | d9caf397ae26f3c280e83f877293dc273438a555 /inspector.py | |
parent | 9e37f67a7866b52650a289dd0171d45335916b99 (diff) | |
download | astroid-git-9a3889c5f996b6b1b5bcec5fd5dedbde4e12e163.tar.gz |
get_module_part should be given a context_file. Closes pyreverse crash #92362
--HG--
branch : stable
Diffstat (limited to 'inspector.py')
-rw-r--r-- | inspector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector.py b/inspector.py index a4abd1f2..e6672a48 100644 --- a/inspector.py +++ b/inspector.py @@ -254,7 +254,7 @@ class Linker(IdGeneratorMixIn, LocalsVisitor): if fullname.find('.') > -1: try: # XXX: don't use get_module_part, missing package precedence - fullname = get_module_part(fullname) + fullname = get_module_part(fullname, context_file) except ImportError: continue if fullname != basename: |