From: Christian Dywan Date: Tue, 21 Oct 2008 21:07:07 +0000 (+0200) Subject: Suppress error when not building from git X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce66f54620949724db00b614051c738ace44ffc6;p=midori Suppress error when not building from git --- 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: