[Mpuls-commits] r3485 - in wasko/trunk: . waskoweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 30 15:47:24 CEST 2010


Author: bh
Date: 2010-08-30 15:47:23 +0200 (Mon, 30 Aug 2010)
New Revision: 3485

Modified:
   wasko/trunk/ChangeLog
   wasko/trunk/waskoweb/lib/search.py
Log:
* waskoweb/lib/search.py (CaseSearch.get_gender_clause): Adapt to
base class changes: Remove search parameter.


Modified: wasko/trunk/ChangeLog
===================================================================
--- wasko/trunk/ChangeLog	2010-08-30 13:46:50 UTC (rev 3484)
+++ wasko/trunk/ChangeLog	2010-08-30 13:47:23 UTC (rev 3485)
@@ -1,3 +1,8 @@
+2010-08-30  Bernhard Herzog  <bh at intevation.de>
+
+	* waskoweb/lib/search.py (CaseSearch.get_gender_clause): Adapt to
+	base class changes: Remove search parameter.
+
 2010-08-30  Roland Geider <roland.geider at intevation.de>
 
 	* waskoweb/controllers/formularpage.py: issue1055: typo in reminder

Modified: wasko/trunk/waskoweb/lib/search.py
===================================================================
--- wasko/trunk/waskoweb/lib/search.py	2010-08-30 13:46:50 UTC (rev 3484)
+++ wasko/trunk/waskoweb/lib/search.py	2010-08-30 13:47:23 UTC (rev 3485)
@@ -43,7 +43,7 @@
     # In wasko, the values for male and female are swapped.
     wasko_gender_mapping = {"1": "0", "0": "1"}
 
-    def get_gender_clause(self, search, options):
+    def get_gender_clause(self, options):
         gender = options.get("gender")
         if gender is not None:
             return ("m.geschlecht = %s"



More information about the Mpuls-commits mailing list