[sysadmin-bin] Name is required
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Name is required
- Date: Thu, 28 Jun 2018 08:52:23 +0000 (UTC)
commit 728ebffb1942d24850e436fbbcea0eb6ed1dafdb
Author: Andrea Veri <averi redhat com>
Date: Thu Jun 28 10:52:01 2018 +0200
Name is required
git/post-receive-mirror-github | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/git/post-receive-mirror-github b/git/post-receive-mirror-github
index 4422e2b..d768a10 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -87,6 +87,7 @@ class GitHub:
def update_github_repo(self, name, field, value):
payload = json.dumps({
+ 'name': self.normalize_name(name),
'%s' % field: value,
})
rq = requests.patch('https://api.github.com/repos/'+ORGANIZATION+'/'+name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]