aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-09 22:50:41 +0000
committerGravatar jesopo2019-01-09 22:50:41 +0000
commit2afe2d1c579bf5760fedf69df4046bf772088ac7 (patch)
tree98907b784f62ba757bdbc901ba711d6cf4b71085
parent`to_from` -> `repo_to` (github.py) (diff)
signature
Show which branch is being merged in to which (github.py)
-rw-r--r--modules/github.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/github.py b/modules/github.py
index 827c7f50..851cde4d 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -78,9 +78,10 @@ class Module(ModuleManager.BaseModule):
removed = self._removed(page.data["deletions"])
url = self._short_url(page.data["html_url"])
- event["stdout"].write("(%s/%s pull#%s) [%s/%s] %s %s" % (
+ event["stdout"].write(
+ "(%s/%s pull#%s) [%s/%s] %s→%s - %s %s" % (
username, repository, number, added, removed,
- page.data["title"], url))
+ from_repo, to_repo, page.data["title"], url))
@utils.hook("api.post.github")
def webhook(self, event):