[ARVADOS] created: b75e2a12f618e2b69f3af1672abfb4773e202bed

git at public.curoverse.com git at public.curoverse.com
Tue Nov 18 11:43:26 EST 2014


        at  b75e2a12f618e2b69f3af1672abfb4773e202bed (commit)


commit b75e2a12f618e2b69f3af1672abfb4773e202bed
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Nov 18 02:36:58 2014 -0500

    4400: Silence git error messages during package install (we ignore them anyway)

diff --git a/sdk/python/setup.py b/sdk/python/setup.py
index 46ca7d2..bc1fab9 100644
--- a/sdk/python/setup.py
+++ b/sdk/python/setup.py
@@ -13,7 +13,9 @@ cmd_opts = {'egg_info': {}}
 try:
     git_tags = subprocess.check_output(
         ['git', 'log', '--first-parent', '--max-count=1',
-         '--format=format:%ct %h', SETUP_DIR]).split()
+         '--format=format:%ct %h', SETUP_DIR],
+        stderr=open('/dev/null','w')
+        ).split()
     assert len(git_tags) == 2
 except (AssertionError, OSError, subprocess.CalledProcessError):
     pass
diff --git a/services/fuse/setup.py b/services/fuse/setup.py
index 1e72fee..c6f9424 100644
--- a/services/fuse/setup.py
+++ b/services/fuse/setup.py
@@ -13,7 +13,8 @@ cmd_opts = {'egg_info': {}}
 try:
     git_tags = subprocess.check_output(
         ['git', 'log', '--first-parent', '--max-count=1',
-         '--format=format:%ct %h', SETUP_DIR]).split()
+         '--format=format:%ct %h', SETUP_DIR],
+        stderr=open('/dev/null','w')).split()
     assert len(git_tags) == 2
 except (AssertionError, OSError, subprocess.CalledProcessError):
     pass

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list