From: Oleg Broytman Date: Wed, 8 Dec 2010 12:26:36 +0000 (+0000) Subject: List years in reverse order. X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=5f9cc4c82b2cb603968c843ea3a37c9aad82d4e6;p=phdru.name%2Fphdru.name.git List years in reverse order. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@116 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/reindex_blog.py b/reindex_blog.py index beba7c1..cc9a540 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -258,7 +258,7 @@ def write_template(level, year, month, day, titles, tags=None): ''') max_year = int(sorted(years.keys())[-1]) - years = range(2005, max_year+1) + years = range(max_year, 2005, -1) new_text.append('''

ðÏ ÇÏÄÁÍ: