From: Oleg Broytman Date: Thu, 11 Jun 2020 15:35:46 +0000 (+0300) Subject: Style(phd.py): Rename `old_blog` -> `blog` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=c89b746df98f09e80169480d13ec452c2a919f7e;p=phdru.name%2Fphdru.name.git Style(phd.py): Rename `old_blog` -> `blog` --- diff --git a/phd.py b/phd.py index 6b67c20..f51df69 100644 --- a/phd.py +++ b/phd.py @@ -114,9 +114,9 @@ class phd(Template): prev_key = prev_blog_post = current_key = current_blog_post = \ next_key = next_blog_post = None - old_blog = load_blog() - for key in sorted(old_blog): - for blog_post in sorted(old_blog[key]): + blog = load_blog() + for key in sorted(blog): + for blog_post in sorted(blog[key]): if current_blog_post: prev_key, prev_blog_post = current_key, current_blog_post if next_blog_post: