diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-08-09 14:40:02 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-08-09 14:48:34 -0400 |
commit | 7b8d937701459cf32a49744594885d0fbcaef395 (patch) | |
tree | c30c5bc2b0960544c548102ac188b009317442a8 /buildscripts/errorcodes.py | |
parent | 336e2bd92d020f4e2f273fa02c388ff1305f89f2 (diff) | |
download | mongo-7b8d937701459cf32a49744594885d0fbcaef395.tar.gz |
SERVER-30468 switch from re2 to regex for errorcodes.py
It is easier to install and seems to be faster.
Diffstat (limited to 'buildscripts/errorcodes.py')
-rwxr-xr-x | buildscripts/errorcodes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/errorcodes.py b/buildscripts/errorcodes.py index 7f51b7512b1..1158406d460 100755 --- a/buildscripts/errorcodes.py +++ b/buildscripts/errorcodes.py @@ -14,9 +14,9 @@ from collections import defaultdict, namedtuple from optparse import OptionParser try: - import re2 as re + import regex as re except ImportError: - print("*** Run 'pip2 install --user re2' to speed up error code checking") + print("*** Run 'pip2 install --user regex' to speed up error code checking") import re ASSERT_NAMES = [ "uassert" , "massert", "fassert", "fassertFailed" ] |