]> git.saurik.com Git - wxWidgets.git/commitdiff
trim the whitespace from the daily build version text
authorRobin Dunn <robin@alldunn.com>
Wed, 16 Jun 2004 05:20:03 +0000 (05:20 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 16 Jun 2004 05:20:03 +0000 (05:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/config.py

index 2e64d92bde2f6f48dee2758bcee8f425bb7f474f..24bdf07ad729ba471b0e5a53a6f3b4e57f3330d9 100644 (file)
@@ -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)