[sysadmin-bin] Restore old error message



commit 06dd2d6527e62de11c2c189788ae9fa41f549d16
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Oct 15 19:58:03 2019 +0200

    Restore old error message

 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 82f774e..bcf4c42 100755
--- a/git/post-receive-mirror-github
+++ b/git/post-receive-mirror-github
@@ -234,7 +234,7 @@ def main():
             except subprocess.CalledProcessError:
                 out = open(out.name, "r")
                 err = open(err.name, "r")
-                raise Exception("Error trying to push repo %s/%s\nSTDOUT:\n%s\nSTDERR\n%s\nGitHub branches: 
%s\nLocal branches: %s\nDefault branch: %s" % (organization, repo_name, out.read(), err.read(), branches, 
settings['branches'], default_branch))
+                raise Exception("Error trying to push repo %s/%s\nSTDOUT:\n%s\nSTDERR\n%s" % (organization, 
repo_name, out.read(), err.read()))
 
 
 if __name__ == "__main__":


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