From f669d4b8afc91af0d9b388fd8d17ad76d4a3b725 Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Wed, 16 Dec 2015 22:31:07 +0300 Subject: [PATCH] PY-9727: Dict update fix EnvDict does not support update, using __setitem__ instead --- python/helpers/pycharm/_jb_tox_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/helpers/pycharm/_jb_tox_runner.py b/python/helpers/pycharm/_jb_tox_runner.py index fd062e64eb2b..2a1ca1472211 100644 --- a/python/helpers/pycharm/_jb_tox_runner.py +++ b/python/helpers/pycharm/_jb_tox_runner.py @@ -79,7 +79,7 @@ config = tox_config.parseconfig() for env, tmp_config in config.envconfigs.items(): if not tmp_config.setenv: tmp_config.setenv = dict() - tmp_config.setenv.update({"_jb_do_not_call_enter_matrix": "1"}) + tmp_config.setenv["_jb_do_not_call_enter_matrix"] = "1" commands = tmp_config.commands if not isinstance(commands, list) or not len(commands): continue