[Formed-commits] r367 - in trunk: . formed/formed/plugins/modify
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 7 12:26:43 CEST 2010
Author: roland
Date: 2010-07-07 12:26:43 +0200 (Wed, 07 Jul 2010)
New Revision: 367
Modified:
trunk/ChangeLog
trunk/formed/formed/plugins/modify/rules.py
Log:
make the names of generated unique
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-06-11 13:59:02 UTC (rev 366)
+++ trunk/ChangeLog 2010-07-07 10:26:43 UTC (rev 367)
@@ -9,6 +9,11 @@
2010-06-02 Roland Geider <roland.geider at intevation.de>
+ * formed/formed/plugins/modify/rules.py: make the names of generated
+ date-sequence-rules unique
+
+2010-06-02 Roland Geider <roland.geider at intevation.de>
+
* formed/plugins/export/xls.py: updated regular expression
2010-05-17 Frank Koormann <frank.koormann at intevation.de>
Modified: trunk/formed/formed/plugins/modify/rules.py
===================================================================
--- trunk/formed/formed/plugins/modify/rules.py 2010-06-11 13:59:02 UTC (rev 366)
+++ trunk/formed/formed/plugins/modify/rules.py 2010-07-07 10:26:43 UTC (rev 367)
@@ -227,8 +227,8 @@
for idx, pair in enumerate(pairs):
rule1 = data.RuleLeaf()
rule2 = data.RuleLeaf()
- rule1.setName("date-sequence-rule-%d" % idx)
- rule2.setName("date-sequence-rule-%d" % idx)
+ rule1.setName("date-sequence-rule-%d-1" % idx)
+ rule2.setName("date-sequence-rule-%d-2" % idx)
d1, d2 = dates[pair[0]], dates[pair[1]]
rule1.setMark("error:%s" % d1.getName())
rule2.setMark("error:%s" % d2.getName())
More information about the Formed-commits
mailing list