[sysadmin-bin] Fix homepage assigment
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Fix homepage assigment
- Date: Tue, 15 Oct 2019 12:22:28 +0000 (UTC)
commit b7f38db6ae9fa56b320d211c616cc8ad3e9c0722
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Oct 15 14:22:23 2019 +0200
Fix homepage assigment
git/post-receive-mirror-github | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index 9e48085..5e6956e 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -165,7 +165,7 @@ def get_repo_settings(repo_name):
name = name.text if name != None else repo_name
desc = desc.text if desc != None else name
- homepage = homepage if homepage != None else 'https://gitlab.gnome.org/GNOME/%s' % repo_name
+ homepage = homepage.get(resource) if homepage != None else 'https://gitlab.gnome.org/GNOME/%s' %
repo_name
return {
"homepage": homepage.encode("utf-8").decode("utf-8"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]