diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-15 17:36:12 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2010-10-16 13:20:22 (GMT) |
commit | a09f5d4e4bed8b6d1b8dcfe2aaa287a26bf40cf2 (patch) | |
tree | be7b9cc622eb6b96e1d0b06b80867fc6a12c2c08 | |
parent | 4c2a2a3e8c7c43bdea154bf329059ec1d2f3a912 (diff) |
indexstore: disable pylint warning W0221 for parse_query
No other name I can think of is a better fit and no external code is using
this class, so it isn't an issue.
Disabling the warning reduces pylint clutter and makes it easier to spot real
issues.
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
-rw-r--r-- | src/carquinyol/indexstore.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/carquinyol/indexstore.py b/src/carquinyol/indexstore.py index 38483cb..b8088b2 100644 --- a/src/carquinyol/indexstore.py +++ b/src/carquinyol/indexstore.py @@ -201,6 +201,7 @@ class QueryParser (xapian.QueryParser): logging.warning('Invalid query string: ' + exception.get_msg()) return Query() + # pylint: disable=W0221 def parse_query(self, query_dict, query_string): logging.debug('parse_query %r %r', query_dict, query_string) queries = [] |