Skip to content

Commit 508e3ca

Browse files
committed
Fix and reforamt generate_getbuildinfo.py
1 parent 54ba2c0 commit 508e3ca

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎Tools/build/generate_getbuildinfo.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import sys
77
import time
88

9-
109
SRC_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
1110
SCRIPT_NAME = os.path.basename(__file__)
1211
SCRIPT_FULLNAME = f'Tools/build/{SCRIPT_NAME}'
@@ -40,7 +39,7 @@ def get_gil_disable():
4039
if Py_GIL_DISABLED_UNDEF_REGEX.search(code):
4140
return False
4241

43-
print(f"ERROR: Unable to locate Py_GIL_DISABLED in {patchlevel_h}")
42+
print(f"ERROR: Unable to locate Py_GIL_DISABLED in {pyconfig_h}")
4443
sys.exit(1)
4544

4645

0 commit comments

Comments
 (0)