summaryrefslogtreecommitdiff
path: root/checkers/variables.py
diff options
context:
space:
mode:
authorcpopa <devnull@localhost>2014-04-22 20:49:52 +0300
committercpopa <devnull@localhost>2014-04-22 20:49:52 +0300
commit41ce7ee12f464ba0c2a5967a43e1a1a93f1081c6 (patch)
tree21b74cef4fdfd38d0505d14893a4a50b577c6d40 /checkers/variables.py
parent7d1269a88635cd5433be0c0cd425b98878fe323e (diff)
downloadpylint-41ce7ee12f464ba0c2a5967a43e1a1a93f1081c6.tar.gz
Extend the checking for unbalanced-tuple-unpacking and unpacking-non-sequence to instance attribute unpacking as well.
Diffstat (limited to 'checkers/variables.py')
-rw-r--r--checkers/variables.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/checkers/variables.py b/checkers/variables.py
index 4bc0162..2ce7fcf 100644
--- a/checkers/variables.py
+++ b/checkers/variables.py
@@ -605,10 +605,6 @@ builtins. Remember that you should avoid to define new builtins when possible.'
return
targets = node.targets[0].itered()
- if any(not isinstance(target_node, astroid.AssName)
- for target_node in targets):
- return
-
try:
for infered in node.value.infer():
self._check_unpacking(infered, node, targets)