diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-02-21 19:17:33 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-02-21 19:17:33 +0100 |
commit | 0b1cdc382cf8d5a06f44a5a53eaec1d15acf4a13 (patch) | |
tree | e3111cfe9a3a437c187ed71106804fff4e87e84c /mitmproxy | |
parent | 91c3a99d481e88f03eb561f705f4de497330b81d (diff) | |
download | mitmproxy-0b1cdc382cf8d5a06f44a5a53eaec1d15acf4a13.tar.gz mitmproxy-0b1cdc382cf8d5a06f44a5a53eaec1d15acf4a13.tar.bz2 mitmproxy-0b1cdc382cf8d5a06f44a5a53eaec1d15acf4a13.zip |
bump dev version
Diffstat (limited to 'mitmproxy')
-rw-r--r-- | mitmproxy/io_compat.py | 4 | ||||
-rw-r--r-- | mitmproxy/version.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mitmproxy/io_compat.py b/mitmproxy/io_compat.py index d0e33bce..dd0c12d6 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 22382c94..d23b2d19 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 |