From ce66f54620949724db00b614051c738ace44ffc6 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 21 Oct 2008 23:07:07 +0200 Subject: [PATCH] Suppress error when not building from git --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 895b2238..13e38328 100644 --- a/wscript +++ b/wscript @@ -13,7 +13,7 @@ VERSION = '0.1.0' try: git = subprocess.Popen (['git', 'rev-parse', '--short', 'HEAD'], - stdout=subprocess.PIPE) + stdout=subprocess.PIPE, stderr=subprocess.PIPE) if not git.wait (): VERSION = (VERSION + '-' + git.stdout.read ()).strip () except: -- 2.39.5