From a09f5d4e4bed8b6d1b8dcfe2aaa287a26bf40cf2 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 17:36:12 +0000 Subject: 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 --- 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 = [] -- cgit v0.9.1