diff options
author | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-24 11:35:09 +0100 |
---|---|---|
committer | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-24 11:35:09 +0100 |
commit | 00edf9a905f19b26bd82bca7e972ef7b4b34a799 (patch) | |
tree | 950ec3814e4c77e7bc57712f52d9b2abea898fb3 /checkers/variables.py | |
parent | 98a081c5c20900624c2a0ce41ae4e0a46aef5033 (diff) | |
download | pylint-00edf9a905f19b26bd82bca7e972ef7b4b34a799.tar.gz |
only skip E0203 when catched by an AttributeError or parent
Diffstat (limited to 'checkers/variables.py')
-rw-r--r-- | checkers/variables.py | 3 |
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) |