Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: utils: set env
CIB_shadow
using os.environ
(bsc#1205925)
`os.environ` is captured once from libc on python process startup (when module `os` is imported from `site.py`) and is the only one interface able to enumerate environment variables. Changing environment variables with other interfaces (including `os.putenv`, `os.unsetenv`, or call libc interface in some CPython modules) makes `os.environ` out of sync and should be avoided.
- Loading branch information