[pypy-svn] buildbot default: remove print, and colorize the path
antocuni
commits-noreply at bitbucket.org
Fri Jan 21 12:21:58 CET 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r440:e198815b50e6
Date: 2011-01-21 12:20 +0100
http://bitbucket.org/pypy/buildbot/changeset/e198815b50e6/
Log: remove print, and colorize the path
diff --git a/bitbucket_hook/hook.py b/bitbucket_hook/hook.py
--- a/bitbucket_hook/hook.py
+++ b/bitbucket_hook/hook.py
@@ -154,6 +154,7 @@
author = '\x0312%s\x0F' % author # in blue
branch = '\x02%s\x0F' % branch # in bold
node = '\x0311%s\x0F' % node # in azure
+ common_prefix = '\x315%s\x0F' % common_prefix # in gray
message = commit['message'].replace('\n', ' ')
fields = (author, branch, node, common_prefix, filenames)
@@ -165,7 +166,6 @@
maxlen = totallen - (len(part1) + 3)
irc_msg = part1 + message[:maxlen] + '...'
self.send_irc_message(irc_msg, test)
- print
def handle_diff_email(self, test=False):
import operator
More information about the Pypy-commit
mailing list