[sysadmin-bin] Fix generating refs list



commit 9417d959f3d500c8ff3c88c711079bc34b8ab547
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Oct 29 09:13:14 2019 +0100

    Fix generating refs list

 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 57dc0af..4e42600 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -213,7 +213,7 @@ def main():
     if github_settings['homepage'] != doap_settings['homepage']:
         gh.update_github_repo(repo_name, 'homepage', doap_settings["homepage"])
 
-    refs = ["refs/heads/{}".format(branch) for branch in settings['branches'] if branch != "master"]
+    refs = ["refs/heads/{}".format(branch) for branch in doap_settings['branches'] if branch != "master"]
 
     github_repo_name = gh.normalize_name(repo_name)
     push_command = "git push --force git github com:{}/{} {}:mainline {}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]