aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-12-13 06:03:54 +0000
committerGravatar jesopo2019-12-13 06:03:54 +0000
commitc5bc9577df55d96a64d975f9671882af19a97992 (patch)
tree4830c823a47cd6eed8208177d2a9be6056d8aa12 /modules/git_webhooks/github.py
parentadd DroneBL to dnsbl module (diff)
signature
`s_line`, not `s`
Diffstat (limited to 'modules/git_webhooks/github.py')
-rw-r--r--modules/git_webhooks/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py
index 3bf56cf6..20a3fb74 100644
--- a/modules/git_webhooks/github.py
+++ b/modules/git_webhooks/github.py
@@ -247,7 +247,7 @@ class GitHub(object):
return outputs
def _comment(self, s):
- s = s.split("\n")[0].strip()
+ s_line = s.split("\n")[0].strip()
left, right = s_line[:COMMENT_MAX], s_line[COMMENT_MAX:]
if not right:
return left