mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1600454 - Fix build with --disable-update-channel. r=glandium
Depends on D55363 Differential Revision: https://phabricator.services.mozilla.com/D55364 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
0d49238f2b
commit
9e32088488
@ -1247,7 +1247,7 @@ option('--enable-update-channel',
|
||||
|
||||
@depends('--enable-update-channel')
|
||||
def update_channel(channel):
|
||||
if channel[0] == '':
|
||||
if not channel or channel[0] == '':
|
||||
return 'default'
|
||||
return channel[0].lower()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user