fix news again oops
This commit is contained in:
parent
bf4356eb29
commit
9ad803523e
@ -150,7 +150,7 @@ def parse_news(news_path):
|
|||||||
elif in_meta:
|
elif in_meta:
|
||||||
key, value = line.split(':', 1)
|
key, value = line.split(':', 1)
|
||||||
current_entry[key] = value.rstrip().lstrip()
|
current_entry[key] = value.rstrip().lstrip()
|
||||||
if set(current_entry.keys()) == set(metadata_keys):
|
if set(metadata_keys).issubset(current_entry.keys()):
|
||||||
in_content = True
|
in_content = True
|
||||||
in_meta = False
|
in_meta = False
|
||||||
elif in_content:
|
elif in_content:
|
||||||
|
Reference in New Issue
Block a user