From 22294cec5cd1b263a4653df3252cb0ba9cbf48b7 Mon Sep 17 00:00:00 2001 From: spog Date: Thu, 2 Mar 2006 22:05:35 +0000 Subject: [PATCH] fixed newlines being included in aboutmsg.h git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@35 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- makeversion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makeversion.py b/makeversion.py index c6633059..3dab61c6 100644 --- a/makeversion.py +++ b/makeversion.py @@ -81,6 +81,8 @@ def radiant_makeversion(append_about, root = os.getcwd()): f = open(aboutfile, 'r') line = f.readline() f.close() + if line.endswith("\n"): + line = line[:-1] else: line = "Custom build based on revision " + str(svn.getRevision(os.getcwd())) # optional additional message -- 2.39.2