From: spog Date: Thu, 2 Mar 2006 22:05:35 +0000 (+0000) Subject: fixed newlines being included in aboutmsg.h X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=01020ca8dd0c350f8b1579fbef80bad050d4a6e3;p=xonotic%2Fnetradiant.git fixed newlines being included in aboutmsg.h git-svn-id: https://zerowing.idsoftware.com/svn/radiant/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