diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-14 00:13:31 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-14 00:13:31 +0300 |
commit | 642723c222ae6701d6b8da17039b6e24fd09f235 (patch) | |
tree | 1c9dd5351dab91d903d3aebd14ebf1401e244758 /astroid/helpers.py | |
parent | b1824e8f74232fac14e2600c28d53a320a94510e (diff) | |
download | astroid-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