From: Michael Tremer Date: Sat, 4 Dec 2021 14:21:18 +0000 (+0000) Subject: plugins: Fix Python syntax error in environment update X-Git-Url: http://git.ipfire.org/?p=oddments%2Fcollecty.git;a=commitdiff_plain;h=5aaf45df09c7c99023d2f47d0b8bc9b649596da7 plugins: Fix Python syntax error in environment update Signed-off-by: Michael Tremer --- 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