[Mpuls-commits] r5828 - base/trunk/mpulsweb/controllers

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 27 10:57:40 CET 2012


Author: roland
Date: 2012-02-27 10:57:40 +0100 (Mon, 27 Feb 2012)
New Revision: 5828

Modified:
   base/trunk/mpulsweb/controllers/statement.py
Log:
Replace the deprecated redirect_to() with redirect(url())

Modified: base/trunk/mpulsweb/controllers/statement.py
===================================================================
--- base/trunk/mpulsweb/controllers/statement.py	2012-02-27 09:55:04 UTC (rev 5827)
+++ base/trunk/mpulsweb/controllers/statement.py	2012-02-27 09:57:40 UTC (rev 5828)
@@ -2,8 +2,8 @@
 import logging
 import formencode
 
-from pylons import request, response, session, tmpl_context as c
-from pylons.controllers.util import abort, redirect_to
+from pylons import request, response, session, tmpl_context as c, url
+from pylons.controllers.util import abort, redirect
 
 from mpulsweb.lib.base import BaseController, render
 



More information about the Mpuls-commits mailing list