]> git.phdru.name Git - phdru.name/cgi-bin/blog-ru/search-tags.git/blobdiff - tags.py
Rename calc_tree to find_tags
[phdru.name/cgi-bin/blog-ru/search-tags.git] / tags.py
diff --git a/tags.py b/tags.py
index 35c4634ca53702fe4791bc70237fe13aa6018a2b..df64a1c286a7e645a84239c0d6571a7af46ee89d 100644 (file)
--- a/tags.py
+++ b/tags.py
@@ -43,7 +43,7 @@ def _test_post(post, tree):
     else:
         raise ValueError("Cannot get there")
 
-def calc_tree(tree):
+def find_tags(tree):
     _posts = []
     for (year, month, day), posts in blog_dict.iteritems():
         for post in posts: