Mercurial > kallithea
diff rhodecode/controllers/admin/notifications.py @ 1723:64e91067b996 beta
- refactoring to overcome poor usage of global pylons config
- db transaction fixes
- fixed tests
- garden
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 26 Nov 2011 02:16:21 +0200 |
parents | 54687aa00724 |
children | 4a5b93b3bcdd |
line wrap: on
line diff
--- a/rhodecode/controllers/admin/notifications.py Sat Nov 26 00:11:32 2011 +0200 +++ b/rhodecode/controllers/admin/notifications.py Sat Nov 26 02:16:21 2011 +0200 @@ -2,6 +2,7 @@ import traceback from pylons import tmpl_context as c, url +from pylons.controllers.util import redirect from rhodecode.lib.base import BaseController, render from rhodecode.model.db import Notification @@ -10,7 +11,7 @@ from rhodecode.lib.auth import LoginRequired from rhodecode.lib import helpers as h from rhodecode.model.meta import Session -from pylons.controllers.util import redirect + log = logging.getLogger(__name__)