Fix lint on Windows
This commit is contained in:
parent
e786fe4e82
commit
0508f509ec
@ -46,7 +46,7 @@ def init_faulthandler():
|
|||||||
faulthandler.enable()
|
faulthandler.enable()
|
||||||
if hasattr(faulthandler, 'register') and hasattr(signal, 'SIGUSR1'):
|
if hasattr(faulthandler, 'register') and hasattr(signal, 'SIGUSR1'):
|
||||||
# If available, we also want a traceback on SIGUSR1.
|
# If available, we also want a traceback on SIGUSR1.
|
||||||
faulthandler.register(signal.SIGUSR1)
|
faulthandler.register(signal.SIGUSR1) # pylint: disable=no-member
|
||||||
|
|
||||||
|
|
||||||
# Now the faulthandler is enabled we fix the Qt harfbuzzing library, before
|
# Now the faulthandler is enabled we fix the Qt harfbuzzing library, before
|
||||||
|
Loading…
Reference in New Issue
Block a user