diff options
author | cpopa <devnull@localhost> | 2014-07-30 19:58:49 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-07-30 19:58:49 +0300 |
commit | 65a4fd506fbdd9b479765f8c9ba44e1d05e1bfad (patch) | |
tree | 7db1fa572c4eb4eacb81e90aa2a316efa19c30e2 /checkers/variables.py | |
parent | 8e47a20cb88b7fbf79cc897a27992d3135c77705 (diff) | |
download | pylint-65a4fd506fbdd9b479765f8c9ba44e1d05e1bfad.tar.gz |
Remove extraneous print. The import exception is already handled by another checker.
Diffstat (limited to 'checkers/variables.py')
-rw-r--r-- | checkers/variables.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/checkers/variables.py b/checkers/variables.py index c75768b..338615f 100644 --- a/checkers/variables.py +++ b/checkers/variables.py @@ -767,8 +767,7 @@ builtins. Remember that you should avoid to define new builtins when possible.' module = node.root().import_module(name_parts[0], level=level) except AstroidBuildingException: return - except Exception, exc: - print 'Unhandled exception in VariablesChecker:', exc + except Exception: return module = self._check_module_attrs(node, module, name_parts[1:]) if not module: |