diff kallithea/controllers/tags.py @ 4196:06e49be38d78 kallithea-2.2.5-rebrand

Rename rhodecode_repo to db_repo_scm_instance
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:05:00 -0400
parents d1addaf7a91e
children ad38f9f93b3b
line wrap: on
line diff
--- a/kallithea/controllers/tags.py	Wed Jul 02 19:04:55 2014 -0400
+++ b/kallithea/controllers/tags.py	Wed Jul 02 19:05:00 2014 -0400
@@ -46,8 +46,8 @@
     def index(self):
         c.repo_tags = OrderedDict()
 
-        tags = [(name, c.rhodecode_repo.get_changeset(hash_)) for \
-                 name, hash_ in c.rhodecode_repo.tags.items()]
+        tags = [(name, c.db_repo_scm_instance.get_changeset(hash_)) for \
+                 name, hash_ in c.db_repo_scm_instance.tags.items()]
         ordered_tags = sorted(tags, key=lambda x: x[1].date, reverse=True)
         for name, cs_tag in ordered_tags:
             c.repo_tags[name] = cs_tag