[Mpuls-commits] r983 - in wasko/branches/2.0: . waskaweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jan 28 16:07:53 CET 2010
Author: bh
Date: 2010-01-28 16:07:48 +0100 (Thu, 28 Jan 2010)
New Revision: 983
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (ImportCaseExistsError)
(CaseOverview.sortByLastname, SessionCase.save): Removed. Not
used.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-01-28 11:42:03 UTC (rev 982)
+++ wasko/branches/2.0/ChangeLog 2010-01-28 15:07:48 UTC (rev 983)
@@ -1,5 +1,11 @@
2010-01-28 Bernhard Herzog <bh at intevation.de>
+ * waskaweb/model/case.py (ImportCaseExistsError)
+ (CaseOverview.sortByLastname, SessionCase.save): Removed. Not
+ used.
+
+2010-01-28 Bernhard Herzog <bh at intevation.de>
+
* waskaweb/model/case.py (CREATE_RG_KOMPETENZ_DS, CASE_EXISTS):
Removed. Not used.
Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py 2010-01-28 11:42:03 UTC (rev 982)
+++ wasko/branches/2.0/waskaweb/model/case.py 2010-01-28 15:07:48 UTC (rev 983)
@@ -180,15 +180,6 @@
return repr(self.value)
-class ImportCaseExistsError(Exception):
-
- def __init__(self, value):
- self.value = value
-
- def __str__(self):
- return repr(self.value)
-
-
class CaseList:
def __init__(self, case_ids=None):
@@ -355,17 +346,6 @@
def __init__(self):
self.ds_list = []
- def sortByLastname(self):
- def _cmp(a, b):
- if a is None and b is None:
- return 0
- if a is None:
- return -1
- if b is None:
- return +1
- return strcoll(a.last_name, b.last_name)
- self.ds_list.sort(_cmp)
-
def search(self, search_str=None):
self.ds_list = []
search = CaseSearch()
@@ -799,10 +779,7 @@
return True
return True
- def save():
- pass
-
class Case:
def __init__(self):
More information about the Mpuls-commits
mailing list