diff options
author | Torsten Marek <shlomme@gmail.com> | 2014-08-16 21:07:04 -0700 |
---|---|---|
committer | Torsten Marek <shlomme@gmail.com> | 2014-08-16 21:07:04 -0700 |
commit | 724f386d65fd5ffa9023cce056ed687096028729 (patch) | |
tree | a59d357b8677f1026ca39902339d52102a910cbe /checkers/utils.py | |
parent | 7aa57622583caab7dc14d0458bc3c4082036b766 (diff) | |
download | pylint-724f386d65fd5ffa9023cce056ed687096028729.tar.gz |
Some work on making pylint work on Python 3 without 2to3.
Diffstat (limited to 'checkers/utils.py')
-rw-r--r-- | checkers/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/utils.py b/checkers/utils.py index b3ba51b..af1440d 100644 --- a/checkers/utils.py +++ b/checkers/utils.py @@ -417,7 +417,7 @@ def get_argument_from_call(callfunc_node, position=None, keyword=None): try: if position is not None and not isinstance(callfunc_node.args[position], astroid.Keyword): return callfunc_node.args[position] - except IndexError, error: + except IndexError as error: raise NoSuchArgumentError(error) if keyword: for arg in callfunc_node.args: |