Skip to content

Commit c5bc957

Browse files
committed
s_line, not s
1 parent 4560a0f commit c5bc957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git_webhooks/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def _format_push(self, branch, author, commits, forced, single_url,
247247
return outputs
248248

249249
def _comment(self, s):
250-
s = s.split("\n")[0].strip()
250+
s_line = s.split("\n")[0].strip()
251251
left, right = s_line[:COMMENT_MAX], s_line[COMMENT_MAX:]
252252
if not right:
253253
return left

0 commit comments

Comments
 (0)