Skip to content

Commit

Permalink
[FIX] Delete unnecessary condition of if
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusZapata committed Jan 31, 2017
1 parent a2dd53f commit dc2c9a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pylint_odoo/checkers/modules_odoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ def visit_tryexcept(self, node):
for handler in node.handlers:
if (not handler.name and
len(handler.body) == 1 and
handler.body and
isinstance(handler.body[0], astroid.node_classes.Pass)):
self.add_message('except-pass', node=handler)

Expand Down

0 comments on commit dc2c9a9

Please sign in to comment.