Index: beanbot-client.py |
=================================================================== |
--- a/beanbot-client.py |
+++ b/beanbot-client.py |
@@ -13,7 +13,7 @@ |
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: |
@@ -21,6 +21,7 @@ |
data = ( |
"%(IRC_RED)s%(repo)s " |
+ "%(IRC_LIME)s%(branch)s " |
Wladimir Palant
2012/10/01 11:23:42
Better not to use too many colors. How about [%(br
Felix Dahlke
2012/10/02 05:39:26
Done.
|
"%(IRC_NORMAL)s%(IRC_BOLD)s%(author)s " |
"%(IRC_NORMAL)s%(IRC_ULINE)s%(rev)s%(IRC_NORMAL)s " |
"%(description)s" % locals() |