]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/config.py
Smartphone menus.
[wxWidgets.git] / 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)