summaryrefslogtreecommitdiff
path: root/checkers/variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'checkers/variables.py')
-rw-r--r--checkers/variables.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/checkers/variables.py b/checkers/variables.py
index 881ce9c..02fee4b 100644
--- a/checkers/variables.py
+++ b/checkers/variables.py
@@ -371,9 +371,6 @@ builtins. Remember that you should avoid to define new builtins when possible.'
# defined in global or builtin scope
if defframe.root().lookup(name)[1]:
maybee0601 = False
- # FIXME: the last condition should just check attribute
- # access is protected by a try: except NameError: (similar
- # to #9219), we simply test using are_exclusive
if (maybee0601
and stmt.fromlineno <= defstmt.fromlineno
and not is_defined_before(node)