aboutsummaryrefslogtreecommitdiff
path: root/modules/github
diff options
context:
space:
mode:
authorGravatar jesopo2019-03-02 08:40:04 +0000
committerGravatar jesopo2019-03-02 08:40:04 +0000
commit1ad9bd20472f4b78e2032cfc685e0b7e5d6c8f47 (patch)
treebab821e884edf8d87bb94100cf56bad36ead6feb /modules/github
parentColour the state of a pull request (diff)
signature
Actually use colored `state` in formatted line
Diffstat (limited to 'modules/github')
-rw-r--r--modules/github/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 7498950f..0adc2f44 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -157,7 +157,7 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write(
"(%s pull#%s, %s) %s → %s [%s/%s] %s %s" % (
- repo, number, page.data["state"], branch_from, branch_to,
+ repo, number, state, branch_from, branch_to,
added, removed, page.data["title"], url))
def _gh_get_pull(self, username, repository, number):
return utils.http.request(