From: Greg Brockman Date: Wed, 24 Mar 2010 16:50:31 +0000 (-0400) Subject: Added a url to the postback message X-Git-Url: http://andersk.mit.edu/gitweb/zcommit.git/commitdiff_plain/f62371e55793c46572f7e7d30684289013a960c3 Added a url to the postback message --- diff --git a/zcommit.py b/zcommit.py index e18a436..0fae9fe 100755 --- a/zcommit.py +++ b/zcommit.py @@ -120,9 +120,11 @@ any of the following optional key/value parameters: 'email' : c['author']['email'], 'message' : c['message'], 'timestamp' : c['timestamp'], - 'actions' : '--\n'.join(actions)} + 'actions' : '--\n'.join(actions), + 'url' : c['url']} msg = """%(name)s <%(email)s> (%(timestamp)s) +%(url)s > %(message)s -- %(actions)s""" % info