[Formed-commits] r318 - in trunk: . formed/formed/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 16 14:56:20 CET 2009


Author: teichmann
Date: 2009-03-16 14:56:19 +0100 (Mon, 16 Mar 2009)
New Revision: 318

Modified:
   trunk/ChangeLog
   trunk/formed/formed/io/document.py
Log:
Fixed syntax typo.

- Diese und die folgenden Zeilen werden ignoriert --

M    ChangeLog
M    formed/formed/io/document.py


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-03-16 13:47:57 UTC (rev 317)
+++ trunk/ChangeLog	2009-03-16 13:56:19 UTC (rev 318)
@@ -1,5 +1,9 @@
 2009-03-16	Sascha L. Teichmann <teichmann at intevation.de>
 
+	* formed/formed/io/document.py: Fixed syntax typo.
+
+2009-03-16	Sascha L. Teichmann <teichmann at intevation.de>
+
 	* formed/formed/model/data.py: ConditionalNode inherits from Node directly.
 
 2009-03-16	Sascha L. Teichmann <teichmann at intevation.de>

Modified: trunk/formed/formed/io/document.py
===================================================================
--- trunk/formed/formed/io/document.py	2009-03-16 13:47:57 UTC (rev 317)
+++ trunk/formed/formed/io/document.py	2009-03-16 13:56:19 UTC (rev 318)
@@ -80,7 +80,7 @@
     RULE_TAG:            SimpleCreator(NodeComponentFactory, RuleLeaf),
     DATE_TAG:            SimpleCreator(NodeComponentFactory, DateLeaf)}
 
-classesToTagNames = dict((v, k) for k, v in namesToClasses.iteritems())
+classesToTagNames = dict([(v, k) for k, v in namesToClasses.iteritems()])
 
 def openDocument(path):
     builder = SAXBuilder(path)



More information about the Formed-commits mailing list