зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1257326 - Respect origins set by any caller of CommandLineHelper.add. r=glandium
Origins will be set for any caller of CommandLineHelper.add, but will only be propagated if args are added to extra_args. This results in an incorrect origin recorded for mozconfig injected arguments. MozReview-Commit-ID: 9mJCaNHyd5C
This commit is contained in:
Родитель
e00bb9ee54
Коммит
2bc5c65931
|
@ -409,8 +409,7 @@ class CommandLineHelper(object):
|
|||
arg = '%s=%s' % (option.env, env)
|
||||
origin = 'environment'
|
||||
|
||||
if args is self._extra_args:
|
||||
origin = self._origins.get(arg, origin)
|
||||
origin = self._origins.get(arg, origin)
|
||||
|
||||
for k in (option.name, option.env):
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче