diff options
author | Mathias Stearn <mathias@10gen.com> | 2011-05-12 17:39:00 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2011-05-12 18:01:53 -0400 |
commit | 5d5d572a64d84a636ff6746ec7f10a7bd9143ef3 (patch) | |
tree | c7cf0ad7f0421ec1ddd85ef39e763abfc38c0530 /buildscripts | |
parent | 9077e45482367076c7cb7693d39d10fae7109e5c (diff) | |
download | mongo-5d5d572a64d84a636ff6746ec7f10a7bd9143ef3.tar.gz |
use master for github link to avoid huge diffs
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/errorcodes.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buildscripts/errorcodes.py b/buildscripts/errorcodes.py index d5ab6387dc6..51d6bc51b54 100755 --- a/buildscripts/errorcodes.py +++ b/buildscripts/errorcodes.py @@ -81,8 +81,6 @@ def getBestMessage( err , start ): def genErrorOutput(): - g = utils.getGitVersion() - if os.path.exists( "docs/errors.md" ): i = open( "docs/errors.md" , "r" ) @@ -107,7 +105,7 @@ def genErrorOutput(): out.write( f + "\n----\n" ) prev = f - url = "http://github.com/mongodb/mongo/blob/" + g + "/" + f + "#L" + str(l) + url = "http://github.com/mongodb/mongo/blob/master/" + f + "#L" + str(l) out.write( "* " + str(num) + " [code](" + url + ") " + getBestMessage( line , str(num) ) + "\n" ) |