mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00
Bug 1790540 - Gracefully handle when topobjdir is not set in MozbuildObject.mozconfig. r=firefox-build-system-reviewers,nalexander
This is a condition that happens when going through the js/src code path in build/moz.configure/init.configure:mozconfig. Differential Revision: https://phabricator.services.mozilla.com/D157769
This commit is contained in:
parent
d74b5dc67c
commit
e019e65008
@ -198,7 +198,7 @@ class MozbuildObject(ProcessExecutionMixin):
|
||||
)
|
||||
|
||||
def resolve_mozconfig_topobjdir(self, default=None):
|
||||
topobjdir = self.mozconfig["topobjdir"] or default
|
||||
topobjdir = self.mozconfig.get("topobjdir") or default
|
||||
if not topobjdir:
|
||||
return None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user