diff pylons_app/controllers/changeset.py @ 245:a83a1799480c

Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 03 Jun 2010 00:04:48 +0200
parents 58b46f9194c3
children 3782a6d698af
line wrap: on
line diff
--- a/pylons_app/controllers/changeset.py	Tue Jun 01 22:19:03 2010 +0200
+++ b/pylons_app/controllers/changeset.py	Thu Jun 03 00:04:48 2010 +0200
@@ -1,6 +1,4 @@
-from pylons import request, response, session, tmpl_context as c, url, config, \
-    app_globals as g
-from pylons.controllers.util import abort, redirect
+from pylons import tmpl_context as c
 from pylons_app.lib.auth import LoginRequired
 from pylons_app.lib.base import BaseController, render
 from pylons_app.model.hg_model import HgModel