mirror of https://github.com/zulip/zulip.git
zerver/lib/debug.py: Remove from mypy's exclude_py3.
traceback.print_stack doesn't have a stub yet. So ignore the statement which uses it.
This commit is contained in:
parent
6bb266d262
commit
06a7a6caee
|
@ -42,7 +42,6 @@ exclude_py2 = []
|
|||
exclude_py3 = """
|
||||
zerver/lib/actions.py
|
||||
zerver/lib/ccache.py
|
||||
zerver/lib/debug.py
|
||||
zerver/lib/email_mirror.py
|
||||
zerver/lib/notifications.py
|
||||
zerver/lib/tornado_ioloop_logging.py
|
||||
|
|
|
@ -30,5 +30,5 @@ def interactive_debug(sig, frame):
|
|||
# SIGUSR2 => Print stack + open interactive debugging shell
|
||||
def interactive_debug_listen():
|
||||
# type: () -> None
|
||||
signal.signal(signal.SIGUSR1, lambda sig, stack: traceback.print_stack(stack))
|
||||
signal.signal(signal.SIGUSR1, lambda sig, stack: traceback.print_stack(stack)) # type: ignore # https://github.com/python/typeshed/issues/294
|
||||
signal.signal(signal.SIGUSR2, interactive_debug)
|
||||
|
|
Loading…
Reference in New Issue