diff options
| author | 2019-12-13 06:03:54 +0000 | |
|---|---|---|
| committer | 2019-12-13 06:03:54 +0000 | |
| commit | c5bc9577df55d96a64d975f9671882af19a97992 (patch) | |
| tree | 4830c823a47cd6eed8208177d2a9be6056d8aa12 /modules/git_webhooks/github.py | |
| parent | add 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.py | 2 |
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 |
