aboutsummaryrefslogtreecommitdiffstats
path: root/local/utility.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2014-05-15 14:18:59 +0300
committerkongr45gpen <electrovesta@gmail.com>2014-05-15 14:18:59 +0300
commitc47c19e80af3a5252b109ebcfe00a947d284caed (patch)
tree83b4ed0951314f3488a5b556fd0e4a4d906ec3eb /local/utility.py
parent311008696355558821c08496a1e37649e75812c8 (diff)
downloadsupybot_github-c47c19e80af3a5252b109ebcfe00a947d284caed.tar.gz
supybot_github-c47c19e80af3a5252b109ebcfe00a947d284caed.tar.bz2
supybot_github-c47c19e80af3a5252b109ebcfe00a947d284caed.zip
Don't forget that broken builds should be red
Diffstat (limited to 'local/utility.py')
-rw-r--r--local/utility.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/local/utility.py b/local/utility.py
index 35b3a50..1f73fbd 100644
--- a/local/utility.py
+++ b/local/utility.py
@@ -53,7 +53,8 @@ def colorAction(action):
if action in [ "created", "opened", "tagged", "success", "passed", "fixed" ]:
return ircutils.bold(ircutils.mircColor(action, "green"))
if action in [ "deleted" ,"closed", "re-tagged", "deleted tag",
- "failed", "errored", "failure", "still failing" ]:
+ "failed", "errored", "failure", "still failing",
+ "broken" ]:
return ircutils.bold(ircutils.mircColor(action, "red"))
if action in [ "merged" ]:
return ircutils.bold(ircutils.mircColor(action, "light blue"))

© 2014-2024 Faster IT GmbH | imprint | privacy policy