[Formed-commits] r406 - trunk/formed/formed/plugins/modify
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Oct 4 19:15:49 CEST 2010
Author: torsten
Date: 2010-10-04 19:15:49 +0200 (Mon, 04 Oct 2010)
New Revision: 406
Modified:
trunk/formed/formed/plugins/modify/rules.py
Log:
* formed/formed/plugins/modify/rules.py (GenerateRequiredRules.generateDateSequenceRules): Generate automatic tag ids for date-sequence rules
Modified: trunk/formed/formed/plugins/modify/rules.py
===================================================================
--- trunk/formed/formed/plugins/modify/rules.py 2010-10-04 16:28:56 UTC (rev 405)
+++ trunk/formed/formed/plugins/modify/rules.py 2010-10-04 17:15:49 UTC (rev 406)
@@ -284,6 +284,8 @@
d1, d2 = dates[pair[0]], dates[pair[1]]
rule1.setMark("error:%s" % d1.getName())
rule2.setMark("error:%s" % d2.getName())
+ rule1.setTag(idx+1000)
+ rule2.setTag(idx+1000)
desc1, desc2 = [u" / ".join(x) for x in remove_common_head(
descriptions(d1), descriptions(d2))]
More information about the Formed-commits
mailing list