aboutsummaryrefslogtreecommitdiff
path: root/infra/build_specified_commit.py
diff options
context:
space:
mode:
authorLeo Neat <leosneat@gmail.com>2020-02-04 11:51:18 -0800
committerGitHub <noreply@github.com>2020-02-04 11:51:18 -0800
commit53cb4f7935e858712edea7b2b09ad8b1c75aacd0 (patch)
treecec0f5b6d6d20217d0fd8386f1a4968376f6a18d /infra/build_specified_commit.py
parentda04f5e431506443847662a22d820078764a182a (diff)
downloadoss-fuzz-53cb4f7935e858712edea7b2b09ad8b1c75aacd0.tar.gz
[Infra] Update execute function in utils.py (#3319)
Diffstat (limited to 'infra/build_specified_commit.py')
-rw-r--r--infra/build_specified_commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py
index 823fd488d..13965f141 100644
--- a/infra/build_specified_commit.py
+++ b/infra/build_specified_commit.py
@@ -88,7 +88,7 @@ def detect_main_repo(project_name, repo_name=None, commit=None):
command_to_run.extend(['--repo_name', repo_name])
else:
command_to_run.extend(['--example_commit', commit])
- out, _ = utils.execute(command_to_run)
+ out, _, _ = utils.execute(command_to_run)
match = re.search(r'\bDetected repo: ([^ ]+) ([^ ]+)', out.rstrip())
if match and match.group(1) and match.group(2):
return match.group(1), match.group(2)