[Mpuls-commits] r2989 - in base/trunk: . mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 10 16:20:15 CEST 2010


Author: bh
Date: 2010-06-10 16:20:14 +0200 (Thu, 10 Jun 2010)
New Revision: 2989

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/model/case.py
Log:
* mpulsweb/model/case.py (MpulsCase.get_value): Fix typo.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-06-10 14:08:21 UTC (rev 2988)
+++ base/trunk/ChangeLog	2010-06-10 14:20:14 UTC (rev 2989)
@@ -1,5 +1,9 @@
 2010-06-10  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/model/case.py (MpulsCase.get_value): Fix typo.
+
+2010-06-10  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/controllers/administration.py: Fix formatting.
 
 2010-06-10  Bernhard Herzog  <bh at intevation.de>

Modified: base/trunk/mpulsweb/model/case.py
===================================================================
--- base/trunk/mpulsweb/model/case.py	2010-06-10 14:08:21 UTC (rev 2988)
+++ base/trunk/mpulsweb/model/case.py	2010-06-10 14:20:14 UTC (rev 2989)
@@ -630,10 +630,10 @@
             if item:
                 return item.getValue()
             else:
-                # Item not found in formed. This my happen for fields which are
-                # not defined in the formed like "bearbeiter_id". Try to look
-                # if this value has been preloaded and is located in the
-                # presendt dict.
+                # Item not found in formed. This my happen for fields
+                # which are not defined in the formed description like
+                # "bearbeiter_id". Try to look if this value has been
+                # preloaded and is located in the preset dict.
                 try:
                     return self.preset[name]
                 except:



More information about the Mpuls-commits mailing list