Fix lint.
This commit is contained in:
parent
891c07f7e3
commit
9d716d74b4
@ -296,7 +296,7 @@ def qt_message_handler(msg_type, context, msg):
|
|||||||
" pacman -S libxkbcommon-x11")
|
" pacman -S libxkbcommon-x11")
|
||||||
faulthandler.disable()
|
faulthandler.disable()
|
||||||
try:
|
try:
|
||||||
frame = sys._getframe(1)
|
frame = sys._getframe(1) # pylint: disable=protected-access
|
||||||
except (AttributeError, ValueError):
|
except (AttributeError, ValueError):
|
||||||
# sys._getframe might not exist in some Python implementations.
|
# sys._getframe might not exist in some Python implementations.
|
||||||
# It could raise ValueError if the stack is less than one level deep -
|
# It could raise ValueError if the stack is less than one level deep -
|
||||||
|
Loading…
Reference in New Issue
Block a user