[Mpuls-commits] r543 - in wasko/trunk: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 15 17:23:36 CEST 2009


Author: teichmann
Date: 2009-07-15 17:23:35 +0200 (Wed, 15 Jul 2009)
New Revision: 543

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/model/casexml.py
Log:
Fixed issue344 


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-07-14 15:39:41 UTC (rev 542)
+++ wasko/trunk/ChangeLog.txt	2009-07-15 15:23:35 UTC (rev 543)
@@ -1,3 +1,7 @@
+2009-07-15	Sascha L. Teichmann <sascha.teichmann at intevation.de>
+
+	* waskaweb/model/casexml.py: Fixed issue344 
+
 2009-07-14	Torsten Irlaender  <torsten.irlaender at intevation.de> 
 
 	Fixed issue338

Modified: wasko/trunk/waskaweb/model/casexml.py
===================================================================
--- wasko/trunk/waskaweb/model/casexml.py	2009-07-14 15:39:41 UTC (rev 542)
+++ wasko/trunk/waskaweb/model/casexml.py	2009-07-15 15:23:35 UTC (rev 543)
@@ -377,6 +377,7 @@
     def element_start(self, name, attrs):
 
         if name == u"cases":
+            self.version = 1
             try:
                 self.version = int(attrs[u'version'])
             except (KeyError, ValueError):
@@ -388,7 +389,6 @@
                         self.version)
 
         elif name == u"case":
-            self.version = 1
             self.uuid    = None
             self.data    = []
             if self.converter: 



More information about the Mpuls-commits mailing list