aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-12-12 12:18:36 +0000
committerGravatar jesopo2019-12-12 12:18:36 +0000
commit10e7e30150e7d4b59f325072a57906bbc07061dd (patch)
tree110211d90c9580b7a39a337bc3742199125138eb /modules/git_webhooks/github.py
parentadd comment to healthcheck.py about what it's for (diff)
signature
only show the first line of a comment body
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 bfb98c5d..3bf56cf6 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_line = utils.parse.line_normalise(s)
+ s = s.split("\n")[0].strip()
left, right = s_line[:COMMENT_MAX], s_line[COMMENT_MAX:]
if not right:
return left