aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-12-29 21:15:50 +0000
committerGravatar jesopo2018-12-29 21:15:50 +0000
commite8b69b0a2686b6a2646be92ffa536ac66a554986 (patch)
treebc048a025ec3894cefd32e7802d9d46efac69785 /modules/github.py
parentShow issue/pr number (github.py) (diff)
signature
`type` should be before `number` in the string formatting of issue_comment
(github.py)
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 9703d3ed..32536dff 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -246,7 +246,7 @@ class Module(ModuleManager.BaseModule):
commenter = utils.irc.bold(data["comment"]["user"]["login"])
url = self._short_url(data["comment"]["html_url"])
return ["[%s #%d] %s %s on: %s - %s" %
- (number, type, commenter, COMMENT_ACTIONS[action], issue_title,
+ (type, number, commenter, COMMENT_ACTIONS[action], issue_title,
url)]
def create(self, event, full_name, data):