From 0b1cdc382cf8d5a06f44a5a53eaec1d15acf4a13 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Tue, 21 Feb 2017 19:17:33 +0100 Subject: [PATCH] bump dev version --- mitmproxy/io_compat.py | 4 ++++ mitmproxy/version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mitmproxy/io_compat.py b/mitmproxy/io_compat.py index d0e33bceb..dd0c12d66 100644 --- a/mitmproxy/io_compat.py +++ b/mitmproxy/io_compat.py @@ -90,6 +90,9 @@ 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): @@ -140,6 +143,7 @@ converters = { (0, 18): convert_018_019, (0, 19): convert_019_100, (1, 0): convert_100_200, + (2, 0): convert_200_300, } diff --git a/mitmproxy/version.py b/mitmproxy/version.py index 22382c940..d23b2d19b 100644 --- a/mitmproxy/version.py +++ b/mitmproxy/version.py @@ -1,4 +1,4 @@ -IVERSION = (2, 0, 0) +IVERSION = (3, 0, 0) VERSION = ".".join(str(i) for i in IVERSION) PATHOD = "pathod " + VERSION MITMPROXY = "mitmproxy " + VERSION