From 022d568209a7f7655517b070cba61287eacdfef2 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" <kop@karlpinc.com> Date: Mon, 9 Oct 2023 02:00:36 +0000 Subject: [PATCH] No need to end db comments with a newline --- db/schemas/gen_comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/schemas/gen_comments.py b/db/schemas/gen_comments.py index 800d44a..42034ba 100755 --- a/db/schemas/gen_comments.py +++ b/db/schemas/gen_comments.py @@ -264,7 +264,7 @@ def rst_to_txt(rst): rst_fd.write(rst) subprocess.run(SPHINX_CMD).check_returncode() with open(TXT_FILE, "r") as txt_fd: - return txt_fd.read(None) + return txt_fd.read(None)[:-1] def comment_obj(db_obj, column, comment): -- 2.34.1