pylint: Ignore no-member for unicodedata.category.

This seems to be broken for pylint since #463 on Windows, so we just ignore the
warning there.
This commit is contained in:
Florian Bruhin 2015-01-23 14:40:40 +01:00
parent 981a3ef96b
commit d7c7e91f2b

View File

@ -164,7 +164,8 @@ class BaseKeyParser(QObject):
self._keystring = ''
return
if (not txt) or unicodedata.category(txt) == 'Cc': # control chars
if ((not txt) or # pylint: disable=no-member
unicodedata.category(txt) == 'Cc'): # control chars
self._debug_log("Ignoring, no text char")
return False