diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-02-21 19:40:06 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-02-21 19:40:06 +0100 |
commit | cf0bce77a91406681cf9fdc848d4b5e7b2da51a7 (patch) | |
tree | 5c7226f21d4fc017e7bdcaa9415e88695f51887a | |
parent | 0b1cdc382cf8d5a06f44a5a53eaec1d15acf4a13 (diff) | |
download | mitmproxy-cf0bce77a91406681cf9fdc848d4b5e7b2da51a7.tar.gz mitmproxy-cf0bce77a91406681cf9fdc848d4b5e7b2da51a7.tar.bz2 mitmproxy-cf0bce77a91406681cf9fdc848d4b5e7b2da51a7.zip |
lint!
-rw-r--r-- | mitmproxy/io_compat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/io_compat.py b/mitmproxy/io_compat.py index dd0c12d6..8f89b86e 100644 --- a/mitmproxy/io_compat.py +++ b/mitmproxy/io_compat.py @@ -90,10 +90,12 @@ def convert_100_200(data): data["version"] = (2, 0, 0) return data + def convert_200_300(data): data["version"] = (3, 0, 0) return data + def _convert_dict_keys(o: Any) -> Any: if isinstance(o, dict): return {strutils.always_str(k): _convert_dict_keys(v) for k, v in o.items()} |