Bug 1696251 - Fix error in static analysis mach_commands.py. r=mhentges

When transitioning from using `self` to using `command_context` in mach
commands, this specific mistake went undetected (no bustage forced a backout,
 either). This commit fixes it.

Differential Revision: https://phabricator.services.mozilla.com/D120804
This commit is contained in:
Alex Lopez 2021-07-30 20:12:39 +00:00
Родитель 2789e5cf91
Коммит a2997cb1c6
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -962,8 +962,10 @@ class StaticAnalysis(MachCommandBase):
def setup_coverity(self, command_context, force_download=True):
rc, config, _ = self._get_config_environment(command_context)
rc, cov = rc or self.get_coverity_secrets(command_context)
if rc != 0:
return rc, None
rc, cov = self.get_coverity_secrets(command_context)
if rc != 0:
return rc, cov