Bug 1562412 - remove unneeded repackage check. r=Callek

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Aki Sasaki 2020-02-25 15:36:21 +00:00
Родитель 74536ae2b6
Коммит 0c5930c33a
1 изменённых файлов: 0 добавлений и 4 удалений

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

@ -196,10 +196,6 @@ def make_job_description(config, jobs):
for job in jobs: for job in jobs:
dep_job = job['primary-dependency'] dep_job = job['primary-dependency']
dependencies = {dep_job.attributes.get('kind'): dep_job.label} dependencies = {dep_job.attributes.get('kind'): dep_job.label}
if len(dep_job.dependencies) > 1 and not config.kind == 'repackage-msi':
# repackage-signing can end up with multiple deps...
raise NotImplementedError(
"Can't repackage a signing task with multiple dependencies")
attributes = copy_attributes_from_dependent_job(dep_job) attributes = copy_attributes_from_dependent_job(dep_job)
attributes['repackage_type'] = 'repackage' attributes['repackage_type'] = 'repackage'