Closed Bug 1019190 Opened 11 years ago Closed 9 years ago

shared environment in b2g_build.py

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bhearsum, Unassigned)

Details

b2g_build.py has two different envs. The "plain" one, which is available through query_env(), and the build one, which is available through query_build_env. However, query_build_env calls query_env to get its base environment (https://github.com/mozilla/build-mozharness/blob/d7ddcf813340f8a39618b817b0d1e4c8ef684cfd/scripts/b2g_build.py#L399), but doesn't make a copy of it. Then it modifies a bunch of stuff. This means that anybody wanting the plain env after the build can't get it. This caused bug 1019170.
in query_build_env(), would 'env = self.query_env().copy()' work?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.