From 1ad9bd20472f4b78e2032cfc685e0b7e5d6c8f47 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 2 Mar 2019 08:40:04 +0000 Subject: Actually use colored `state` in formatted line --- modules/github/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/github') 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( -- cgit v1.3.1-10-gc9f91