diff options
author | Mike Dirolf <mike@10gen.com> | 2010-08-26 14:33:41 -0400 |
---|---|---|
committer | Mike Dirolf <mike@10gen.com> | 2010-08-26 16:01:46 -0400 |
commit | 306b9cbaa7fe5ff59e1deb3c28c96d4b55ecc58b (patch) | |
tree | 02e0c43f1de72e1c3b9962e7dbb78e6dae0421dd /buildscripts/utils.py | |
parent | 7bbe2939e91337615999ac9cba003158629bc6e8 (diff) | |
download | mongo-306b9cbaa7fe5ff59e1deb3c28c96d4b55ecc58b.tar.gz |
just renaming some things in smoke.py to be more consistent - no functional changes
Diffstat (limited to 'buildscripts/utils.py')
-rw-r--r-- | buildscripts/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buildscripts/utils.py b/buildscripts/utils.py index 1ca2fdd345f..640ac5dd986 100644 --- a/buildscripts/utils.py +++ b/buildscripts/utils.py @@ -8,7 +8,7 @@ import os def getGitBranch(): if not os.path.exists( ".git" ): return None - + version = open( ".git/HEAD" ,'r' ).read().strip() if not version.startswith( "ref: " ): return version @@ -45,7 +45,6 @@ def getGitVersion(): return version return open( f , 'r' ).read().strip() - def execsys( args ): import subprocess if isinstance( args , str ): @@ -65,7 +64,6 @@ def getprocesslist(): r = re.compile( "[\r\n]+" ) return r.split( raw ) - def removeIfInList( lst , thing ): if thing in lst: lst.remove( thing ) |