diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-05 09:54:23 +1100 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-05 09:54:23 +1100 |
commit | 6d343c7ca352b41e1a07e8a3001b36667ac8f5f8 (patch) | |
tree | fff977cf3c30559cd9bb26191b6bd78fb91a1c41 /netlib | |
parent | ff388f2e6298c880d26a5a5e3e41a6bb6bffb167 (diff) | |
download | mitmproxy-6d343c7ca352b41e1a07e8a3001b36667ac8f5f8.tar.gz mitmproxy-6d343c7ca352b41e1a07e8a3001b36667ac8f5f8.tar.bz2 mitmproxy-6d343c7ca352b41e1a07e8a3001b36667ac8f5f8.zip |
debug: use correct fp for memory object output
Diffstat (limited to 'netlib')
-rw-r--r-- | netlib/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/debug.py b/netlib/debug.py index 657d4465..450b058a 100644 --- a/netlib/debug.py +++ b/netlib/debug.py @@ -91,7 +91,7 @@ def dump_info(signal=None, frame=None, file=sys.stdout, testing=False): # pragm itms = list(d.items()) itms.sort(key=lambda x: x[1]) for i in itms[-20:]: - print(i[1], i[0]) + print(i[1], i[0], file=file) print("****************************************************", file=file) if not testing: |