• Kai Lautaportti's avatar
    Pass the augmented environment to the hook scripts. · 97b6bc7f
    Kai Lautaportti authored
    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.
    97b6bc7f
__init__.py 8.25 KB