diff options
author | oscure76 <midhun.nitw@gmail.com> | 2018-04-14 16:24:41 -0700 |
---|---|---|
committer | oscure76 <midhun.nitw@gmail.com> | 2018-04-14 16:24:41 -0700 |
commit | 0e984e1442e735a6a3cee5170bead492b231d620 (patch) | |
tree | 4e0ae4b5598f3c1be35a38819b15a12ace6209c8 /pathod/test.py | |
parent | 5eb17bbf6d47c8d703763bfa41cf1ff3f98a632f (diff) | |
download | mitmproxy-0e984e1442e735a6a3cee5170bead492b231d620.tar.gz mitmproxy-0e984e1442e735a6a3cee5170bead492b231d620.tar.bz2 mitmproxy-0e984e1442e735a6a3cee5170bead492b231d620.zip |
fix Python 3.6 variable type annotations #3053
Diffstat (limited to 'pathod/test.py')
-rw-r--r-- | pathod/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/test.py b/pathod/test.py index 819c7a94..e8c3c84a 100644 --- a/pathod/test.py +++ b/pathod/test.py @@ -10,7 +10,7 @@ class Daemon: IFACE = "127.0.0.1" def __init__(self, ssl=None, **daemonargs) -> None: - self.q = queue.Queue() # type: queue.Queue + self.q: queue.Queue = queue.Queue() self.logfp = io.StringIO() daemonargs["logfp"] = self.logfp self.thread = _PaThread(self.IFACE, self.q, ssl, daemonargs) |