Skip to content

Commit

Permalink
Pylint: enable unneeded-not check
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBasti committed Jun 26, 2016
1 parent 3277fcf commit 57c3d81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dns/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def get(self, want_leading=False, want_comment=False):
self.skip_whitespace()
continue
elif c == ')':
if not self.multiline > 0:
if self.multiline <= 0:
raise dns.exception.SyntaxError
self.multiline -= 1
self.skip_whitespace()
Expand Down
1 change: 0 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ disable=
undefined-variable,
unichr-builtin,
unicode-builtin,
unneeded-not,
unused-argument,
unused-variable,
wrong-import-order,
Expand Down

0 comments on commit 57c3d81

Please sign in to comment.