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:
Emilio Cobos Álvarez 2019-12-04 08:48:17 +00:00
Родитель 0d49238f2b
Коммит 9e32088488
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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()