[Formed-commits] r325 - in trunk: . formed/formed/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 16 17:08:53 CEST 2009


Author: teichmann
Date: 2009-04-16 17:08:53 +0200 (Thu, 16 Apr 2009)
New Revision: 325

Modified:
   trunk/ChangeLog
   trunk/formed/formed/model/exprtree.py
Log:
Rule description plug-in: make 'equal' and 'not equal' more readable with '=' and '<>'.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-04-02 14:24:37 UTC (rev 324)
+++ trunk/ChangeLog	2009-04-16 15:08:53 UTC (rev 325)
@@ -1,3 +1,8 @@
+2009-04-16	Sascha L. Teichmann <teichmann at intevation.de>
+
+	* formed/formed/model/exprtree.py: make 'equal' and 'not equal'
+	  more readable with '=' and '<>'.
+
 2009-04-02	Sascha L. Teichmann <teichmann at intevation.de>
 
 	* formed/formed/plugins/export/sql.py: call anonymization

Modified: trunk/formed/formed/model/exprtree.py
===================================================================
--- trunk/formed/formed/model/exprtree.py	2009-04-02 14:24:37 UTC (rev 324)
+++ trunk/formed/formed/model/exprtree.py	2009-04-16 15:08:53 UTC (rev 325)
@@ -46,8 +46,8 @@
 from shlex import split as lexsplit
 
 PRETTY_SYMBOLS = {
-    'EQ':    'gleich',
-    'NE':    'ungleich',
+    'EQ':    '=',
+    'NE':    '<>',
     'NOT':   'nicht',
     'ISSET': 'gesetzt',
     'KNOWN': 'bekannt',



More information about the Formed-commits mailing list