aboutsummaryrefslogtreecommitdiff
path: root/modules/github
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-07 15:56:30 +0000
committerGravatar jesopo2019-02-07 15:56:30 +0000
commit53a819512f2d156cf2c571b4047174ff788636c1 (patch)
tree0b1579c5b50f11599f71ed09cdef63f8894dac2b /modules/github
parentColor/bold `status` state (github) (diff)
signature
Make commit hash LIGHTBLUE in `status` event (github)
Diffstat (limited to 'modules/github')
-rw-r--r--modules/github/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index e823cb06..7d0046d1 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -529,7 +529,8 @@ class Module(ModuleManager.BaseModule):
def status(self, full_name, data):
context = data["context"]
url = data["target_url"]
- commit = self._short_hash(data["sha"])
+ commit = utils.irc.color(self._short_hash(data["sha"]),
+ utils.consts.LIGHTBLUE)
state = data["state"]
if state == "success":