diff options
author | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-23 13:15:44 +0100 |
---|---|---|
committer | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-23 13:15:44 +0100 |
commit | 047ab37ac5a6b429b46e4b2d9aef9ede2c9cd570 (patch) | |
tree | 2a826debcc8c24629bd58f465344105f1b556775 | |
parent | ff3ced404cd59f8146b450d9a5aba56a374236d4 (diff) | |
download | pylint-047ab37ac5a6b429b46e4b2d9aef9ede2c9cd570.tar.gz |
Remove a chunk of code that was never executed
related to issue #692
-rw-r--r-- | pylint/checkers/imports.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py index 6d68390..6480d27 100644 --- a/pylint/checkers/imports.py +++ b/pylint/checkers/imports.py @@ -398,9 +398,6 @@ given file (report RP0402 must not be disabled)'} local_imports = [] std_imports = [] for node, modname in self._imports_stack: - if not modname: - local_imports.append((node, modname)) - continue package = modname.split('.')[0] if is_standard_module(modname): std_imports.append((node, package)) |