Fix lint false positives.

This commit is contained in:
Jan Cholasta
2011-04-07 16:53:52 +02:00
committed by Martin Kosek
parent fb329bc8b0
commit 1ac3ed2c27
12 changed files with 23 additions and 15 deletions

View File

@@ -587,9 +587,9 @@ class textui(backend.Backend):
except EOFError:
return -2
if resp.lower() == "q":
if resp.lower() == "q": #pylint: disable=E1103
return -2
if resp.lower() == "a":
if resp.lower() == "a": #pylint: disable=E1103
return -1
try:
selection = int(resp) - 1