[Mpuls-commits] r1416 - in wasko/branches/2.0: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 17:01:29 CET 2010


Author: bh
Date: 2010-02-09 17:01:28 +0100 (Tue, 09 Feb 2010)
New Revision: 1416

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/controllers/repeatgroup.py
Log:
* waskaweb/controllers/repeatgroup.py (RepeatgroupController.new):
The first parameter for abort has to be an int, not a string.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-09 16:00:53 UTC (rev 1415)
+++ wasko/branches/2.0/ChangeLog	2010-02-09 16:01:28 UTC (rev 1416)
@@ -1,5 +1,10 @@
 2010-02-09  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/controllers/repeatgroup.py (RepeatgroupController.new):
+	The first parameter for abort has to be an int, not a string.
+
+2010-02-09  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/controllers/repeatgroup.py: Remove unused imports.
 
 2010-02-09  Bernhard Herzog  <bh at intevation.de>

Modified: wasko/branches/2.0/waskaweb/controllers/repeatgroup.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/repeatgroup.py	2010-02-09 16:00:53 UTC (rev 1415)
+++ wasko/branches/2.0/waskaweb/controllers/repeatgroup.py	2010-02-09 16:01:28 UTC (rev 1416)
@@ -76,7 +76,7 @@
             session.get('uncommited_fields'))
         rgcontainer = instance_tree.getItem(id)
         if not rgcontainer:
-            abort('404', _('repeat group container not found.'))
+            abort(404, _('repeat group container not found.'))
         rgcontainer.createInstance()
 
         # Build new Navigation



More information about the Mpuls-commits mailing list