--- ZSQLExtend/importFMPXML.py 2007/12/11 19:35:34 1.17 +++ ZSQLExtend/importFMPXML.py 2007/12/14 21:30:55 1.19 @@ -412,7 +412,7 @@ class xml_handler: args = [] for fn in self.xml_update_list: # do not update id_field - if self.id_field and fn == self.xml_id: + if update and fn == self.xml_id: continue f = self.xml_field_map[fn] @@ -438,7 +438,6 @@ class xml_handler: else: # create new row self.logger.debug("insert: %s"%args) - sys.exit(1) SimpleSearch(self.db, self.addQuery, args, ascii=self.ascii_db) #self.logger.info(" row:"+"%d (%s)"%(self.rowcnt,id_val))