diff --git a/buildscripts/errorcodes.py b/buildscripts/errorcodes.py index 18fca0b027b..c3cc0b4280d 100755 --- a/buildscripts/errorcodes.py +++ b/buildscripts/errorcodes.py @@ -7,6 +7,7 @@ Optionally replaces zero codes in source code with new distinct values. import bisect import os.path +import re import sys from collections import defaultdict, namedtuple from optparse import OptionParser @@ -17,12 +18,6 @@ from pathlib import Path if __name__ == "__main__" and __package__ is None: sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -try: - import regex as re -except ImportError: - print("*** Run 'pip3 install --user regex' to speed up error code checking") - import re # type: ignore - ASSERT_NAMES = ["uassert", "massert", "fassert", "fassertFailed"] MAXIMUM_CODE = 9999999 # JIRA Ticket + XX