Skip to content

Commit d101937

Browse files
committed
Join lines in copyright tests
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent dc1d358 commit d101937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/scripts/gen_copyright_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def create_copyright_tests(
9393
content = url
9494

9595
if end_line != 0:
96-
content = "".join(content.strip().splitlines()[start_line:end_line])
96+
content = "\n".join(content.strip().splitlines()[start_line:end_line])
9797

9898
with open(name, "w") as out:
9999
out.write(content)

0 commit comments

Comments
 (0)