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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 5 11:25:25 CET 2008


Author: torsten
Date: 2008-11-05 11:25:24 +0100 (Wed, 05 Nov 2008)
New Revision: 293

Modified:
   trunk/ChangeLog
   trunk/formed/formed/model/data.py
Log:
Fixed import error


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-10-29 14:59:57 UTC (rev 292)
+++ trunk/ChangeLog	2008-11-05 10:25:24 UTC (rev 293)
@@ -1,3 +1,7 @@
+2008-11.03	Torsten Irländer <torsten.irlaender at intevation.de>
+
+	* formed/formed/model/data.py: Fixed import error
+
 2008-10-29	Sascha L. Teichmann <teichmann at intevation.de>
 
 	Relative paths in external choices are now possible. Relative paths are

Modified: trunk/formed/formed/model/data.py
===================================================================
--- trunk/formed/formed/model/data.py	2008-10-29 14:59:57 UTC (rev 292)
+++ trunk/formed/formed/model/data.py	2008-11-05 10:25:24 UTC (rev 293)
@@ -146,7 +146,7 @@
                 if not os.path.isabs(fname) and self.path:
                     fname = os.path.join(self.path, fname)
                 try: # TODO: This loading code should be else where!
-                    from offline.io.document import openDocument
+                    from formed.io.document import openDocument
                     document = openDocument(fname)
                     self.choice = document.findByClassAndName(ChoiceNode)
                 except Exception, inst:



More information about the Formed-commits mailing list