diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-20 08:56:47 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-20 08:56:47 +1200 |
commit | be450cf9db1d819b1023029c8d403f401e010c98 (patch) | |
tree | 2f69ceb926cb95b809a5a0e1aa851e3401e709b2 /libpathod/pathod.py | |
parent | 3891fe56385b323b435392aadb3f55848ee30857 (diff) | |
download | mitmproxy-be450cf9db1d819b1023029c8d403f401e010c98.tar.gz mitmproxy-be450cf9db1d819b1023029c8d403f401e010c98.tar.bz2 mitmproxy-be450cf9db1d819b1023029c8d403f401e010c98.zip |
Whitespace, small fixes.
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r-- | libpathod/pathod.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py index de6bde3a..07354aa8 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -233,7 +233,7 @@ class PathodHandler(tcp.BaseHandler): def handle(self): if self.server.ssl: try: - cert, key, chain_file = self.server.ssloptions.get_cert(None) + cert, key, _ = self.server.ssloptions.get_cert(None) self.convert_to_ssl( cert, key, handle_sni=self.handle_sni, @@ -276,7 +276,6 @@ class Pathod(tcp.TCPServer): def __init__( self, addr, - confdir=CONFDIR, ssl=False, ssloptions=None, craftanchor="/p/", |