Bug 1533818 - Don't try to expand from a 'cose.manifest' file when repacking the l10n copy of omni.ja. r=aki

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Justin Wood 2019-06-12 23:03:22 +00:00
Родитель 2e58278e4b
Коммит 8d5dbea57f
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -364,4 +364,5 @@ def is_manifest(path):
Return whether the given path is that of a manifest file.
'''
return path.endswith('.manifest') and not path.endswith('.CRT.manifest') \
and not path.endswith('.exe.manifest')
and not path.endswith('.exe.manifest') \
and os.path.basename(path) != "cose.manifest"