diff options
| author | 2019-12-12 12:18:36 +0000 | |
|---|---|---|
| committer | 2019-12-12 12:18:36 +0000 | |
| commit | 10e7e30150e7d4b59f325072a57906bbc07061dd (patch) | |
| tree | 110211d90c9580b7a39a337bc3742199125138eb | |
| parent | add comment to healthcheck.py about what it's for (diff) | |
| signature | ||
only show the first line of a comment body
| -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 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 |
