summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaura M?dioni <laura.medioni@logilab.fr>2015-11-23 13:15:44 +0100
committerLaura M?dioni <laura.medioni@logilab.fr>2015-11-23 13:15:44 +0100
commit271649297e0bcef1360b8f5b1edd0ddd1fcc360c (patch)
tree23605e5af275783304b8d1af6caaa0799935f362
parent27e15dee132e3acf9aef1d4ab0c547bea9185d4c (diff)
downloadpylint-271649297e0bcef1360b8f5b1edd0ddd1fcc360c.tar.gz
Remove a chunk of code that was never executed
related to issue #692
-rw-r--r--pylint/checkers/imports.py3
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))