Mercurial > kallithea
comparison pylons_app/controllers/summary.py @ 473:6b934c9607e7 celery
Improved testing scenarios. Made test env creator
Fixed hg_model error message
some other tweeks and fixes
Models fixe for uniq email, and removed some extra not needed imports from model main module
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 13 Sep 2010 01:23:58 +0200 |
parents | 3fc3ce53659b |
children | 5c376ac2d4c9 |
comparison
equal
deleted
inserted
replaced
472:91292686c1ed | 473:6b934c9607e7 |
---|---|
59 | 59 |
60 c.repo_branches = OrderedDict() | 60 c.repo_branches = OrderedDict() |
61 for name, hash in c.repo_info.branches.items()[:10]: | 61 for name, hash in c.repo_info.branches.items()[:10]: |
62 c.repo_branches[name] = c.repo_info.get_changeset(hash) | 62 c.repo_branches[name] = c.repo_info.get_changeset(hash) |
63 | 63 |
64 task = run_task(get_commits_stats,False,c.repo_info.name) | 64 task = run_task(get_commits_stats,c.repo_info.name) |
65 c.ts_min = task.result[0] | 65 c.ts_min = task.result[0] |
66 c.ts_max = task.result[1] | 66 c.ts_max = task.result[1] |
67 c.commit_data = task.result[2] | 67 c.commit_data = task.result[2] |
68 | 68 |
69 return render('summary/summary.html') | 69 return render('summary/summary.html') |