Actually show deletions as deletions for github pull requests (github.py)

This commit is contained in:
jesopo 2019-01-09 22:46:57 +00:00
parent 8d3064d50c
commit dc4c711fa0

View file

@ -75,7 +75,7 @@ class Module(ModuleManager.BaseModule):
repo_from = page.data["head"]["label"] repo_from = page.data["head"]["label"]
to_from = page.data["base"]["label"] to_from = page.data["base"]["label"]
added = self._added(page.data["additions"]) added = self._added(page.data["additions"])
removed = self._added(page.data["deletions"]) removed = self._removed(page.data["deletions"])
url = self._short_url(page.data["html_url"]) 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" % (