Pass the augmented environment to the hook scripts.
The call signature for the hook scripts was changed by adding a third parameter which is a dictionary containing the environment variables copied from ``os.environ`` and augmented with the environment overrides from the part configuration. Existing hook scripts that accept only two arguments continue to work but reading ``os.environ`` directly will not contain the overridden values.
Showing
This diff is collapsed.
Please register or sign in to comment