diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-05-26 12:31:29 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-05-26 12:31:29 +1200 |
commit | 23efee981338f8ae66d0161fe12e2a7b3b25d1f2 (patch) | |
tree | c640aefcc27b23b0f14681cffebcc414ac0e4b10 /netlib/tcp.py | |
parent | f7e77d543bcca84f75e09440841aacb582881da2 (diff) | |
download | mitmproxy-23efee981338f8ae66d0161fe12e2a7b3b25d1f2.tar.gz mitmproxy-23efee981338f8ae66d0161fe12e2a7b3b25d1f2.tar.bz2 mitmproxy-23efee981338f8ae66d0161fe12e2a7b3b25d1f2.zip |
Sketch out a more solid core
- Decorator for handler methods
- Stricter checking for double-acks and non-acks
Diffstat (limited to 'netlib/tcp.py')
-rw-r--r-- | netlib/tcp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py index d26bb5f7..8e3ae65e 100644 --- a/netlib/tcp.py +++ b/netlib/tcp.py @@ -900,7 +900,7 @@ class TCPServer(object): """ # If a thread has persisted after interpreter exit, the module might be # none. - if traceback: + if traceback and six: exc = six.text_type(traceback.format_exc()) print(u'-' * 40, file=fp) print( |