Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions man/build_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ def build_keywords(ext):
break

for key in keys:
if not key:
# Skip empty keywords.
print(
f"Warning: Empty keyword in {in_file}. All keywords: {keys}",
file=sys.stderr,
)
continue
if key not in keywords.keys():
keywords[key] = []
keywords[key].append(fname)
Expand Down
Loading