Use P.transaction.

This commit is contained in:
voussoir 2022-09-27 18:35:43 -07:00
parent be46b6d2f2
commit 4b47e753d3
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -537,7 +537,9 @@ ARTICLES = {
ARTICLES_PUBLISHED = {file: article for (file, article) in ARTICLES.items() if article.publication_id}
with P.transaction:
write_articles()
complete_tag_index = Index()
all_tags = set(P.get_tags())
permute(all_tags)