This commit is contained in:
Thomas Kriechbaumer 2017-02-21 19:40:06 +01:00
parent 0b1cdc382c
commit cf0bce77a9

View File

@ -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()}