Bug 897045 - Properly handle extra make arguments if there is no mozconfig; r=mshal

This commit is contained in:
Gregory Szorc 2013-07-23 13:59:12 -07:00
parent da7deab3e1
commit 16412ac12d

View File

@ -283,7 +283,8 @@ class MozbuildObject(ProcessExecutionMixin):
@property
def _config_guess(self):
if self._config_guess_output is None:
make_extra = dict(m.split('=', 1) for m in self.mozconfig['make_extra'])
make_extra = self.mozconfig['make_extra'] or []
make_extra = dict(m.split('=', 1) for m in make_extra)
self._config_guess_output = make_extra.get('CONFIG_GUESS', None)
if self._config_guess_output is None: