| Index: beanbot-client.py |
| =================================================================== |
| --- a/beanbot-client.py |
| +++ b/beanbot-client.py |
| @@ -13,14 +13,15 @@ |
| IRC_LIME = '\x039' |
| IRC_BLUE = '\x0312' |
| - repo, author, rev, description = sys.argv[1:5] |
| + repo, branch, author, rev, description = sys.argv[1:6] |
| match = re.search(r'^\s*(.*?)\s*<.*>\s*$', author) |
| if match: |
| author = match.group(1) |
| data = ( |
| - "%(IRC_RED)s%(repo)s " |
| + "%(IRC_RED)s%(repo)s" |
| + "%(IRC_NORMAL)[%(branch)s] " |
| "%(IRC_NORMAL)s%(IRC_BOLD)s%(author)s " |
| "%(IRC_NORMAL)s%(IRC_ULINE)s%(rev)s%(IRC_NORMAL)s " |
| "%(description)s" % locals() |