--- MPIWGWeb/Attic/updatePersonalWWW.py 2012/01/13 10:01:28 1.1.2.13 +++ MPIWGWeb/Attic/updatePersonalWWW.py 2012/01/26 10:11:12 1.1.2.14 @@ -92,6 +92,9 @@ class xml_handler(ContentHandler): self.currentName=self.fieldNames[self.currentData] self.currentData+=1 self.currentTag="data" + logging.debug("currentData"+str(self.currentData)) + logging.debug("currentName"+str(self.currentName)) + self.currentRow[self.currentName]="" #anlegen des eintrages def endElement(self,name): if (name.lower() == "data") : @@ -113,6 +116,9 @@ class xml_handler(ContentHandler): if self.result.has_key(self.currentRow['key']): logging.error("Key %s not unique"%self.currentRow['key']) + logging.debug("currentrow:"+self.currentName) + logging.debug("currentname:"+self.currentRow['key']) + if self.currentName is not None: self.result[self.currentRow['key']]=self.currentRow.copy() #