From: Robin Dunn Date: Wed, 16 Jun 2004 05:20:03 +0000 (+0000) Subject: trim the whitespace from the daily build version text X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b2826e51590283d907dbe43ec3a47b2c5d141a6 trim the whitespace from the daily build version text git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/config.py b/wxPython/config.py index 2e64d92bde..24bdf07ad7 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -721,7 +721,8 @@ if UNICODE: VER_FLAGS += 'u' if os.path.exists('DAILY_BUILD'): - VER_FLAGS += '.' + open('DAILY_BUILD').read() + + VER_FLAGS += '.' + open('DAILY_BUILD').read().strip() VERSION = "%s.%s.%s.%s%s" % (VER_MAJOR, VER_MINOR, VER_RELEASE, VER_SUBREL, VER_FLAGS)