# HG changeset patch # User Mads Kiilerich # Date 1431008800 -7200 # Node ID c564075ef01b28133b2ee53705dc680d01a55062 # Parent 5153c491a9647a59d95b4f05efe48027fbe13e8f summary: remove unused download code diff -r 5153c491a964 -r c564075ef01b kallithea/controllers/summary.py --- a/kallithea/controllers/summary.py Thu May 07 16:26:40 2015 +0200 +++ b/kallithea/controllers/summary.py Thu May 07 16:26:40 2015 +0200 @@ -67,25 +67,6 @@ def __before__(self): super(SummaryController, self).__before__() - def _get_download_links(self, repo): - - download_l = [] - - branches_group = ([], _("Branches")) - tags_group = ([], _("Tags")) - - for name, chs in c.db_repo_scm_instance.branches.items(): - #chs = chs.split(':')[-1] - branches_group[0].append((chs, name),) - download_l.append(branches_group) - - for name, chs in c.db_repo_scm_instance.tags.items(): - #chs = chs.split(':')[-1] - tags_group[0].append((chs, name),) - download_l.append(tags_group) - - return download_l - def __get_readme_data(self, db_repo): repo_name = db_repo.repo_name log.debug('Looking for README file')