Rename Recipient.CLASS to Recipient.STREAM.

(imported from commit a530194163f7260c73921137fa1ff671f14516f6)
This commit is contained in:
Tim Abbott
2012-10-10 16:57:21 -04:00
parent 1fc4780a81
commit 44e9e4cebf
7 changed files with 36 additions and 36 deletions

View File

@@ -43,7 +43,7 @@ def process_push(oldrev, newrev, refname):
oldrev, newrev, refname])
commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- **%aN**: %s", "%s..%s" % (oldrev, newrev)])
message_data = {
"type": "class",
"type": "stream",
"class": "test" if refname == "refs/heads/test-post-receive" else "devel",
"instance": "commits",
"content": "The following commits were just pushed to `%s`:\n\n"