[Mpuls-commits] r4364 - in base/trunk: . mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Dec 13 16:28:15 CET 2010


Author: bh
Date: 2010-12-13 16:28:13 +0100 (Mon, 13 Dec 2010)
New Revision: 4364

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/model/logbook.py
Log:
* mpulsweb/model/logbook.py (get_logbook_import_factory): Adapt to
libformed revision 252:b9389de2dd55.
mpulsweb now requires libformed revision 252:b9389de2dd55.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-12-13 13:14:24 UTC (rev 4363)
+++ base/trunk/ChangeLog	2010-12-13 15:28:13 UTC (rev 4364)
@@ -1,3 +1,9 @@
+2010-12-13  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/model/logbook.py (get_logbook_import_factory): Adapt to
+	libformed revision 252:b9389de2dd55.
+	mpulsweb now requires libformed revision 252:b9389de2dd55.
+
 2010-12-13  Roland Geider <roland.geider at intevation.de>
 	 
 	 * mpulsweb/lib/helper/filters.py,

Modified: base/trunk/mpulsweb/model/logbook.py
===================================================================
--- base/trunk/mpulsweb/model/logbook.py	2010-12-13 13:14:24 UTC (rev 4363)
+++ base/trunk/mpulsweb/model/logbook.py	2010-12-13 15:28:13 UTC (rev 4364)
@@ -456,7 +456,9 @@
 def get_logbook_import_factory():
     """Return the component factory for the logbook for the libformed xmlimport
     """
-    entry_node = StructureNode("tagebuch-eintrag",
+    meta_node = data.RepeatNode()
+    meta_node.setName("tagebuch-eintrag")
+    entry_node = StructureNode(meta_node,
                                {"tagebuch-datum": data.TextLeaf(),
                                 "tagebuch-bearbeiter": data.TextLeaf(),
                                 "tagebuch-art": data.IntLeaf(),



More information about the Mpuls-commits mailing list