[sysadmin-bin] Pass correct repo name variable to error message template
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Pass correct repo name variable to error message template
- Date: Thu, 24 Oct 2019 13:47:25 +0000 (UTC)
commit cf9f3f2b66ca9e9641f7942c5a0f99b1e32e4b32
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Oct 24 15:47:26 2019 +0200
Pass correct repo name variable to error message template
git/post-receive-mirror-github | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index 1b4b2e2..ff54ba6 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -221,7 +221,7 @@ STDOUT: {}
STDERR: {}
Command: {}
-""".format(organization, name, out.read(), err.read(), command)
+""".format(organization, repo_name, out.read(), err.read(), command)
raise Exception(error_msg)
if default_branch != 'mainline':
@@ -249,7 +249,7 @@ STDOUT: {}
STDERR: {}
Command: {}
-""".format(organization, name, out.read(), err.read(), command)
+""".format(organization, repo_name, out.read(), err.read(), command)
raise Exception(error_msg)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]