[Mpuls-commits] r453 - in wasko/trunk: . waskaweb/converter

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 1 11:41:09 CEST 2009


Author: teichmann
Date: 2009-04-01 11:41:07 +0200 (Wed, 01 Apr 2009)
New Revision: 453

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/converter/wasko_v1v2.py
Log:
XML import: fixed elimination of f_kf_meth_c_1.


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-04-01 09:35:22 UTC (rev 452)
+++ wasko/trunk/ChangeLog.txt	2009-04-01 09:41:07 UTC (rev 453)
@@ -1,5 +1,10 @@
 2009-04-01	Sascha L. Teichmann	<teichmann at intevation.de>
 
+	* waskaweb/converter/wasko_v1v2.py: Fixed elimination of
+	  f_kf_meth_c_1.
+
+2009-04-01	Sascha L. Teichmann	<teichmann at intevation.de>
+
 	Fixed issue128:
 
 	* waskaweb/converter/wasko_v1v2.py: Added converter to eliminate

Modified: wasko/trunk/waskaweb/converter/wasko_v1v2.py
===================================================================
--- wasko/trunk/waskaweb/converter/wasko_v1v2.py	2009-04-01 09:35:22 UTC (rev 452)
+++ wasko/trunk/waskaweb/converter/wasko_v1v2.py	2009-04-01 09:41:07 UTC (rev 453)
@@ -109,8 +109,8 @@
 
         if not self.f_kf_meth_c_1 is None \
         or not self.f_kf_meth_f_1 is None:
-            if not self.f_kf_meth_f_1: value = f_kf_meth_f_1
-            else:                      value = f_kf_meth_c_1
+            if not self.f_kf_meth_f_1 is None: value = f_kf_meth_f_1
+            else:                              value = f_kf_meth_c_1
             master_loader.data.append(('f_kf_meth_f_1', value))
 
         if not self.nat_staat is None:



More information about the Mpuls-commits mailing list