[Mpuls-commits] r3423 - in jmd/trunk: . jmdstrukturweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 17 17:48:57 CEST 2010


Author: bh
Date: 2010-08-17 17:48:55 +0200 (Tue, 17 Aug 2010)
New Revision: 3423

Modified:
   jmd/trunk/ChangeLog
   jmd/trunk/jmdstrukturweb/lib/search.py
Log:
* jmdstrukturweb/lib/search.py: Remove unused imports.
(SEARCH_WHERE): Removed. No longer needed.


Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2010-08-17 14:22:00 UTC (rev 3422)
+++ jmd/trunk/ChangeLog	2010-08-17 15:48:55 UTC (rev 3423)
@@ -1,5 +1,10 @@
 2010-08-17  Bernhard Herzog  <bh at intevation.de>
 
+	* jmdstrukturweb/lib/search.py: Remove unused imports.
+	(SEARCH_WHERE): Removed. No longer needed.
+
+2010-08-17  Bernhard Herzog  <bh at intevation.de>
+
 	* jmdstruktur.json: By default we need to search for cases for
 	which the current user is only a standin, because int the
 	struktur-part that's all normal users will be.

Modified: jmd/trunk/jmdstrukturweb/lib/search.py
===================================================================
--- jmd/trunk/jmdstrukturweb/lib/search.py	2010-08-17 14:22:00 UTC (rev 3422)
+++ jmd/trunk/jmdstrukturweb/lib/search.py	2010-08-17 15:48:55 UTC (rev 3423)
@@ -28,26 +28,9 @@
 # Torsten Irländer <torsten.irlaender at intevation.de>
 
 import logging
-from datetime import datetime
 
-from mpulsweb.lib.security import hasRole
 from mpulsweb.lib.search import CaseSearch as CaseBaseSearch
 
-SEARCH_WHERE = """
-      %s
-      AND st.status IN (%s)
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-      AND %s
-"""
 
 log = logging.getLogger(__name__)
 



More information about the Mpuls-commits mailing list