We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a170c1 commit e5610bbCopy full SHA for e5610bb
Doc/tools/check-epub.py
@@ -8,9 +8,9 @@ def main() -> int:
8
raise RuntimeError(wrong_directory_msg)
9
10
with Path("Doc/epubcheck.txt").open(encoding="UTF-8") as f:
11
- warnings = [warning.split(" - ") for warning in f.read().splitlines()]
+ messages = [message.split(" - ") for message in f.read().splitlines()]
12
13
- fatal_errors = [warning for warning in warnings if warning[0] == "FATAL"]
+ fatal_errors = [message for message in messages if message[0] == "FATAL"]
14
15
if fatal_errors:
16
print("\nError: must not contain fatal errors:\n")
0 commit comments