changeset 2:ac8e119b25ec

trying to make import from xml work
author casties
date Tue, 26 Jul 2011 11:55:19 +0200
parents e4bae49e657b
children 3dadf0d89261
files MetaData.py version.txt
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MetaData.py	Mon Jul 25 20:59:15 2011 +0200
+++ b/MetaData.py	Tue Jul 26 11:55:19 2011 +0200
@@ -18,6 +18,7 @@
 #from Products.OSA_system2 import OSAS_helpers
 #from Products.OSA_system2.OSAS_metadata import OSAS_Metadata,OSAS_MetadataMapping
 
+from MetaDataMapping import MetaDataMapping
 from OSAS_metadata import OSAS_Metadata, OSAS_MetadataMapping
 
 
@@ -150,7 +151,7 @@
         
         #erster schritt: anlegen der fieldlist
         for node in nodes:
-            logging.debug("node: %s"%node.tagName)
+            logging.debug("node: %s"%repr(node))
             if node.tagName=="set":
                 set=node
                 if set.getAttribute('name')=='generic':
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/version.txt	Tue Jul 26 11:55:19 2011 +0200
@@ -0,0 +1,1 @@
+2.0a
\ No newline at end of file