From 5aaf45df09c7c99023d2f47d0b8bc9b649596da7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 4 Dec 2021 14:21:18 +0000 Subject: [PATCH] plugins: Fix Python syntax error in environment update Signed-off-by: Michael Tremer --- src/collecty/plugins/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collecty/plugins/base.py b/src/collecty/plugins/base.py index 9518ea1..e8f8f30 100644 --- a/src/collecty/plugins/base.py +++ b/src/collecty/plugins/base.py @@ -55,7 +55,7 @@ class Environment(object): # Apply the new one if self.new_environment[k]: - os.environ.update(self.new_environment[k]) + os.environ[k] = self.new_environment[k] def __exit__(self, type, value, traceback): # Roll back to the previous environment -- 2.47.2