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:
parent
981a3ef96b
commit
d7c7e91f2b
@ -164,7 +164,8 @@ class BaseKeyParser(QObject):
|
|||||||
self._keystring = ''
|
self._keystring = ''
|
||||||
return
|
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")
|
self._debug_log("Ignoring, no text char")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user