post-receive: Style branch name

(imported from commit 33f075095c163f8954dac104cd5d39e9171a99d2)
This commit is contained in:
Keegan McAllister 2012-10-03 18:08:36 -04:00
parent 3848d79f10
commit 6784e8cbf4
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ def process_push(oldrev, newrev, refname):
"type": "class",
"class": "devel",
"instance": "commits",
"content": "The following commits were just pushed to %s:\n\n" % (refname.replace("refs/heads/", ""),) + commits,
"content": "The following commits were just pushed to `%s`:\n\n"
% (refname.replace("refs/heads/", ""),) + commits,
"recipient": "tabbott@humbughq.com",
}
# Sleep a bit to give time for the server to restart.