From: spog Date: Thu, 2 Mar 2006 22:05:35 +0000 (+0000) Subject: fixed newlines being included in aboutmsg.h X-Git-Tag: xonotic-v0.7.0~16^2~12^2~259 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=22294cec5cd1b263a4653df3252cb0ba9cbf48b7 fixed newlines being included in aboutmsg.h git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@35 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- 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