]> spindle.queued.net Git - midori/commitdiff
Suppress error when not building from git
authorChristian Dywan <christian@twotoasts.de>
Tue, 21 Oct 2008 21:07:07 +0000 (23:07 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 21 Oct 2008 21:07:07 +0000 (23:07 +0200)
wscript

diff --git a/wscript b/wscript
index 895b22384ad415f80659cc4aa561b000390b9f1e..13e38328011884f02684f081e5e0f5a57baa0264 100644 (file)
--- 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: