summaryrefslogtreecommitdiff
path: root/astroid/helpers.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-14 00:13:31 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-14 00:13:31 +0300
commit642723c222ae6701d6b8da17039b6e24fd09f235 (patch)
tree1c9dd5351dab91d903d3aebd14ebf1401e244758 /astroid/helpers.py
parentb1824e8f74232fac14e2600c28d53a320a94510e (diff)
downloadastroid-git-642723c222ae6701d6b8da17039b6e24fd09f235.tar.gz
do_import_module passes the proper relative_only flag if the level is higher than 1.
This has the side effect that using `from .something import something` in a non-package will finally result in an import-error on Pylint's side. Until now relative_only was ignored, leading to the import of `something`, if it was globally available.
Diffstat (limited to 'astroid/helpers.py')
0 files changed, 0 insertions, 0 deletions