diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-05-16 17:53:24 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-05-16 17:53:24 +0300 |
commit | 45fbb02d86d3b12180c0b21ad2e1accbef3d139c (patch) | |
tree | b0c9744cc3dfddc29e4fa444a6ebaf900f39ac2f /pylint/checkers/utils.py | |
parent | 4ef6e29eb67f9f15634ccc3358369d17cbff809e (diff) | |
download | pylint-45fbb02d86d3b12180c0b21ad2e1accbef3d139c.tar.gz |
Disable bad-builtin for using a map.
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r-- | pylint/checkers/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index 3cdf439..08b35cb 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -584,4 +584,5 @@ def excepts_import_error(node): """ if not isinstance(node, astroid.TryExcept): return + # pylint: disable=bad-builtin return any(map(is_import_error, node.handlers)) |