From 0e984e1442e735a6a3cee5170bead492b231d620 Mon Sep 17 00:00:00 2001 From: oscure76 Date: Sat, 14 Apr 2018 16:24:41 -0700 Subject: fix Python 3.6 variable type annotations #3053 --- examples/simple/filter_flows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/simple/filter_flows.py') diff --git a/examples/simple/filter_flows.py b/examples/simple/filter_flows.py index 70979591..d252089c 100644 --- a/examples/simple/filter_flows.py +++ b/examples/simple/filter_flows.py @@ -7,7 +7,7 @@ from mitmproxy import ctx, http class Filter: def __init__(self): - self.filter = None # type: flowfilter.TFilter + self.filter: flowfilter.TFilter = None def configure(self, updated): self.filter = flowfilter.parse(ctx.options.flowfilter) -- cgit v1.2.3