Bug 1543662 Only check mar channel IDs for destination mars r=mtabara

Generating partials from betas doesn't work if we check the 'from' mar channel IDs, as we don't know what's valid for those.

Differential Revision: https://phabricator.services.mozilla.com/D27866

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Simon Fraser 2019-04-17 12:36:25 +00:00
Родитель 2b31482114
Коммит 401be41334
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -349,7 +349,8 @@ async def manage_partial(partial_def, filename_template, artifacts_dir,
with ddstats.timer('mar.unpack.time'):
await unpack(work_env, dest, unpack_dir)
check_channels_in_files.append(dest)
if mar_type == 'to':
check_channels_in_files.append(dest)
if mar_type == 'from':
version = get_option(unpack_dir, filename="application.ini",