From aac70d52b5c4e83148adecb1f91ad01202eae101 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 7 Aug 2010 15:46:33 +0200 Subject: [PATCH] Strip whitespace and line breaks off git version string --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index fe331612..e3c36ee1 100644 --- a/wscript +++ b/wscript @@ -37,7 +37,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