diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:34:46 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 18:03:07 +1300 |
commit | c774a9fec93feedc37a450400a03b83f5f4cb4b9 (patch) | |
tree | 507c346e8f8c605d428140274678fced2e6bbc16 /netlib/socks.py | |
parent | a647b30365593a4a3056fcf6936f5441ab9eda88 (diff) | |
download | mitmproxy-c774a9fec93feedc37a450400a03b83f5f4cb4b9.tar.gz mitmproxy-c774a9fec93feedc37a450400a03b83f5f4cb4b9.tar.bz2 mitmproxy-c774a9fec93feedc37a450400a03b83f5f4cb4b9.zip |
python3: clean up super and __future__
Diffstat (limited to 'netlib/socks.py')
-rw-r--r-- | netlib/socks.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/netlib/socks.py b/netlib/socks.py index 5b28a8cd..9f1adb98 100644 --- a/netlib/socks.py +++ b/netlib/socks.py @@ -1,4 +1,3 @@ -from __future__ import (absolute_import, print_function, division) import struct import array import ipaddress @@ -8,7 +7,7 @@ from netlib import tcp, utils class SocksError(Exception): def __init__(self, code, message): - super(SocksError, self).__init__(message) + super().__init__(message) self.code = code VERSION = utils.BiDi( |