aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/debug.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-09-04 11:02:48 +1200
committerGitHub <noreply@github.com>2016-09-04 11:02:48 +1200
commit0483486c628d0e590231ed44bf5a3656122c543e (patch)
treea8d389eac26a375aa581a4372ac21a7da573fb39 /netlib/debug.py
parentb476966a45a6f77b1a819867dbbc943af9a57ef0 (diff)
parent3da9e37d9eb346f8e9cf4ab1b3be15abc1051f57 (diff)
downloadmitmproxy-0483486c628d0e590231ed44bf5a3656122c543e.tar.gz
mitmproxy-0483486c628d0e590231ed44bf5a3656122c543e.tar.bz2
mitmproxy-0483486c628d0e590231ed44bf5a3656122c543e.zip
Merge pull request #1523 from Kriechi/http2
improve error handling in http2
Diffstat (limited to 'netlib/debug.py')
-rw-r--r--netlib/debug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/debug.py b/netlib/debug.py
index 29c7f655..f9c700de 100644
--- a/netlib/debug.py
+++ b/netlib/debug.py
@@ -37,7 +37,7 @@ def sysinfo():
return "\n".join(data)
-def dump_info(sig, frm, file=sys.stdout): # pragma: no cover
+def dump_info(signal=None, frame=None, file=sys.stdout): # pragma: no cover
print("****************************************************", file=file)
print("Summary", file=file)
print("=======", file=file)
@@ -81,7 +81,7 @@ def dump_info(sig, frm, file=sys.stdout): # pragma: no cover
print("****************************************************", file=file)
-def dump_stacks(signal, frame, file=sys.stdout):
+def dump_stacks(signal=None, frame=None, file=sys.stdout):
id2name = dict([(th.ident, th.name) for th in threading.enumerate()])
code = []
for threadId, stack in sys._current_frames().items():