[Formed-commits] r415 - trunk/formed/formed/plugins/export
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Oct 21 10:22:02 CEST 2010
Author: torsten
Date: 2010-10-21 10:22:02 +0200 (Thu, 21 Oct 2010)
New Revision: 415
Modified:
trunk/formed/formed/plugins/export/rules_sh.py
Log:
* formed/formed/plugins/export/rules_sh.py: Added new LE-Operator
Modified: trunk/formed/formed/plugins/export/rules_sh.py
===================================================================
--- trunk/formed/formed/plugins/export/rules_sh.py 2010-10-12 14:39:13 UTC (rev 414)
+++ trunk/formed/formed/plugins/export/rules_sh.py 2010-10-21 08:22:02 UTC (rev 415)
@@ -63,6 +63,9 @@
elif node.operator.__name__ == "LT":
operator = "<"
out.append("%s %s %s" % (recursive_parse(node.a, document), operator, recursive_parse(node.b, document)))
+ elif node.operator.__name__ == "LE":
+ operator = "<="
+ out.append("%s %s %s" % (recursive_parse(node.a, document), operator, recursive_parse(node.b, document)))
elif node.operator.__name__ == "EQ":
operator = "="
out.append("%s %s %s" % (recursive_parse(node.a, document), operator, recursive_parse(node.b, document)))
More information about the Formed-commits
mailing list