diff options
author | teor <teor@torproject.org> | 2018-07-31 11:37:11 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2018-07-31 11:37:11 +1000 |
commit | 3d3e62d1474a386f6a46fe6a8c5d6c7c5bed4f85 (patch) | |
tree | c6809e077cd889b67a7e0bd732fe8320b218b0d0 /scripts | |
parent | 9b41eb2bc3294f9bf0cf85d75fe2680efcebcc0e (diff) | |
download | tor-3d3e62d1474a386f6a46fe6a8c5d6c7c5bed4f85.tar.gz tor-3d3e62d1474a386f6a46fe6a8c5d6c7c5bed4f85.zip |
Appveyor CI: Switch to one URL per line
Part of 26979.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/test/appveyor-irc-notify.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/test/appveyor-irc-notify.py b/scripts/test/appveyor-irc-notify.py index f830db4e44..eb4d26ba38 100644 --- a/scripts/test/appveyor-irc-notify.py +++ b/scripts/test/appveyor-irc-notify.py @@ -27,6 +27,7 @@ # - fix github provider detection ('gitHub' or 'gitHubEnterprise', apparently) # - make short commits 10 hexdigits long (that's what git does for tor) # - generate correct branches and URLs for pull requests +# - switch to one URL per line # This program is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software Foundation; @@ -155,17 +156,16 @@ def notify(): messages.append(u"{branch_detail} - {repo_commit_author}: {repo_commit_message}") if success: - m = u"Build #{build_version} passed. Details: {build_url}" + messages.append(u"Build #{build_version} passed. Details: {build_url}") if failure: - m = u"Build #{build_version} failed. Details: {build_url}" + messages.append(u"Build #{build_version} failed. Details: {build_url}") if "commit_url" in apvy_vars: - m += " Commit: {commit_url}" + messages.append(u"Commit: {commit_url}") if "pull_url" in apvy_vars: - m += " Pull: {pull_url}" + messages.append(u"Pull: {pull_url}") - messages.append(m) else: messages = sys.argv[3:] messages = ' '.join(messages) |