[Formed-commits] r437 - trunk/formed/formed/plugins/export

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jan 19 11:59:16 CET 2011


Author: torsten
Date: 2011-01-19 11:59:16 +0100 (Wed, 19 Jan 2011)
New Revision: 437

Modified:
   trunk/formed/formed/plugins/export/new_sql.py
Log:
* formed/formed/plugins/export/new_sql.py
	(SchemaCreator._createChoice): Fix traversing choicelists wich
	conditional nodes.


Modified: trunk/formed/formed/plugins/export/new_sql.py
===================================================================
--- trunk/formed/formed/plugins/export/new_sql.py	2011-01-11 14:07:00 UTC (rev 436)
+++ trunk/formed/formed/plugins/export/new_sql.py	2011-01-19 10:59:16 UTC (rev 437)
@@ -433,6 +433,8 @@
                     if cc: stack.extend(cc)
                 elif isinstance(c, data.GroupNode):
                     stack.extend(c.children)
+                elif isinstance(c, data.ConditionalNode):
+                    stack.extend(c.children)
                 elif isinstance(c, data.BoolLeaf):
                     desc = c.getDescription()
                     if not desc: desc = ""



More information about the Formed-commits mailing list