[Xfce4-commits] <postler:master> Strip whitespace and line breaks off git version string

Christian Dywan noreply at xfce.org
Fri Aug 13 02:56:01 CEST 2010


Updating branch refs/heads/master
         to 2b1a14a3704df66c12c434cc1e95ef8457bc136f (commit)
       from e47a1a2da8830a3b9d277b46902d658b6abcfa9e (commit)

commit 2b1a14a3704df66c12c434cc1e95ef8457bc136f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Aug 7 15:48:49 2010 +0200

    Strip whitespace and line breaks off git version string

 wscript |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index 28ae393..8241310 100644
--- a/wscript
+++ b/wscript
@@ -42,7 +42,7 @@ VERSION = str (major) + '.' + str (minor) + '.' + str (micro)
 try:
     git = Utils.cmd_output (['git', 'describe'], silent=True)
     if git:
-        VERSION = git
+        VERSION = git.strip ()
 except:
     pass
 



More information about the Xfce4-commits mailing list