зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1621198 - ensure deterministic generation of application.ini; r=glandium
We need to ensure the flags are always output in a consistent order. Differential Revision: https://phabricator.services.mozilla.com/D66763 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
628e83dd09
Коммит
874f27715e
|
@ -25,7 +25,7 @@ def main(output, file):
|
|||
pass
|
||||
appdata = dict(("%s:%s" % (s, o), config.get(s, o))
|
||||
for s in config.sections() for o in config.options(s))
|
||||
appdata['flags'] = ' | '.join(flags) if flags else '0'
|
||||
appdata['flags'] = ' | '.join(sorted(flags)) if flags else '0'
|
||||
appdata['App:profile'] = ('"%s"' % appdata['App:profile']
|
||||
if 'App:profile' in appdata else 'NULL')
|
||||
expected = ('App:vendor', 'App:name', 'App:remotingname', 'App:version', 'App:buildid',
|
||||
|
|
Загрузка…
Ссылка в новой задаче