From e0dc125ddd909396874f0d711e049a4fd3e88800 Mon Sep 17 00:00:00 2001 From: Marvin Pohl Date: Sat, 16 Jan 2021 15:39:05 +0100 Subject: [PATCH] Allow git config to fail if the pr_source remote is not yet initialized. --- buildbot_gitea/step_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_gitea/step_source.py b/buildbot_gitea/step_source.py index eca0d5f..dfb6b25 100644 --- a/buildbot_gitea/step_source.py +++ b/buildbot_gitea/step_source.py @@ -19,7 +19,7 @@ class Gitea(Git): res = yield super(Gitea, self)._fetch(arg) if self.build.hasProperty("pr_id"): remote = yield self._dovccmd( - ['config', 'remote.pr_source.url'], collectStdout=True) + ['config', 'remote.pr_source.url'], collectStdout=True, abandonOnFailure=False) if remote is None or remote.strip() is '': yield self._dovccmd( ['remote', 'add', 'pr_source',