0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-22 12:23:34 -05:00

chore: remove redundant word

Signed-off-by: tianzedavid <cuitianze@aliyun.com>
This commit is contained in:
tianzedavid 2025-02-13 18:55:31 +08:00
parent 55cf39e4c5
commit 033acdf03d

View file

@ -111,7 +111,7 @@ def check_source_filenames(files) -> int:
for filename in filenames: for filename in filenames:
if not filename_regex.match(filename) and not filename_exception_regex.match(filename): if not filename_regex.match(filename) and not filename_exception_regex.match(filename):
print( print(
f"""File {repr(filename)} does not not match the allowed source filename regexp ('{ALLOWED_SOURCE_FILENAME_REGEXP}'), or the exception regexp ({ALLOWED_SOURCE_FILENAME_EXCEPTION_REGEXP}).""" f"""File {repr(filename)} does not match the allowed source filename regexp ('{ALLOWED_SOURCE_FILENAME_REGEXP}'), or the exception regexp ({ALLOWED_SOURCE_FILENAME_EXCEPTION_REGEXP})."""
) )
failed_tests += 1 failed_tests += 1
return failed_tests return failed_tests