diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-18 09:50:11 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-18 09:50:11 +0100 |
commit | 97861c5583e27959c015bf790480bbc39b31e38b (patch) | |
tree | 8298b738fe0c9bcc344b2814e4066d2e49a11587 /utils.py | |
parent | 90e9e305e214a3e3b147b9932cd0738097cd13d0 (diff) | |
download | astroid-git-97861c5583e27959c015bf790480bbc39b31e38b.tar.gz |
missing redirection
--HG--
branch : _ast_compat
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -219,8 +219,7 @@ class ASTVisitor(object): def visit_bool(self, node): """dummy method for visiting an Bool node""" -REDIRECT = { - 'Attribute': 'Getattr', +REDIRECT = {'Attribute': 'Getattr', 'Call': 'CallFunc', 'ClassDef': 'Class', "ListCompFor": 'Comprehension', @@ -232,7 +231,8 @@ REDIRECT = { 'ImportFrom': 'From', 'keyword': 'Keyword', 'Repr': 'Backquote', - + 'Sliceobj': 'Subscript', + 'Add': 'BinOp', 'Bitand': 'BinOp', 'Bitor': 'BinOp', |