aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/console/palettes.py
diff options
context:
space:
mode:
authoroscure76 <midhun.nitw@gmail.com>2018-04-14 16:24:41 -0700
committeroscure76 <midhun.nitw@gmail.com>2018-04-14 16:24:41 -0700
commit0e984e1442e735a6a3cee5170bead492b231d620 (patch)
tree4e0ae4b5598f3c1be35a38819b15a12ace6209c8 /mitmproxy/tools/console/palettes.py
parent5eb17bbf6d47c8d703763bfa41cf1ff3f98a632f (diff)
downloadmitmproxy-0e984e1442e735a6a3cee5170bead492b231d620.tar.gz
mitmproxy-0e984e1442e735a6a3cee5170bead492b231d620.tar.bz2
mitmproxy-0e984e1442e735a6a3cee5170bead492b231d620.zip
fix Python 3.6 variable type annotations #3053
Diffstat (limited to 'mitmproxy/tools/console/palettes.py')
-rw-r--r--mitmproxy/tools/console/palettes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/tools/console/palettes.py b/mitmproxy/tools/console/palettes.py
index df69ff2f..7930c4a3 100644
--- a/mitmproxy/tools/console/palettes.py
+++ b/mitmproxy/tools/console/palettes.py
@@ -36,7 +36,7 @@ class Palette:
# Commander
'commander_command', 'commander_invalid', 'commander_hint'
]
- high = None # type: typing.Mapping[str, typing.Sequence[str]]
+ high: typing.Mapping[str, typing.Sequence[str]] = None
def palette(self, transparent):
l = []