[Mpuls-commits] r2978 - in jmd/trunk: . jmdweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 10 12:48:22 CEST 2010


Author: bh
Date: 2010-06-10 12:48:15 +0200 (Thu, 10 Jun 2010)
New Revision: 2978

Modified:
   jmd/trunk/ChangeLog
   jmd/trunk/jmdweb/controllers/jmdstruktur.py
Log:
* jmdweb/controllers/jmdstruktur.py
(JmdstrukturController.permissionAction): Do not render templates
that are not actually used.


Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2010-06-10 10:45:24 UTC (rev 2977)
+++ jmd/trunk/ChangeLog	2010-06-10 10:48:15 UTC (rev 2978)
@@ -1,5 +1,11 @@
 2010-06-10  Bernhard Herzog  <bh at intevation.de>
 
+	* jmdweb/controllers/jmdstruktur.py
+	(JmdstrukturController.permissionAction): Do not render templates
+	that are not actually used.
+
+2010-06-10  Bernhard Herzog  <bh at intevation.de>
+
 	* jmdweb/controllers/jmdstruktur.py (JmdstrukturController.index)
 	(JmdstrukturController.new): Do not call
 	formencode.htmlfill.render if it's not needed.

Modified: jmd/trunk/jmdweb/controllers/jmdstruktur.py
===================================================================
--- jmd/trunk/jmdweb/controllers/jmdstruktur.py	2010-06-10 10:45:24 UTC (rev 2977)
+++ jmd/trunk/jmdweb/controllers/jmdstruktur.py	2010-06-10 10:48:15 UTC (rev 2978)
@@ -70,7 +70,6 @@
         agency.store({'jmdstrukur_permission_userid':
                       ",".join(form_resut['userid'])})
         c.status_msg = h.status_message("Berechtigung erfolgreich gesetzt.")
-        page = render('jmdstruktur/permission.mako')
         return self.permission()
 
     @checkRole(['cm', 'admin'])



More information about the Mpuls-commits mailing list