--- ZSQLExtend/importCDLIimglist.py 2010/03/25 12:13:32 1.5 +++ ZSQLExtend/importCDLIimglist.py 2011/02/11 19:08:49 1.6 @@ -57,6 +57,7 @@ def handle_line(self, line): # synchronize by id_field id_val = self.xml_data[self.xml_id] + #logging.debug("id_val=%s xml_id=%s"%(id_val,self.xml_id)) # get img_type img_type_val = self.xml_data[self.xml_img_type] @@ -116,7 +117,7 @@ def parse(self, filename): # find all fields if self.dbIDs[id] == 0: # unmatched entry - #self.logger.debug("CLEAN: %s with %s"%(self.delQuery,id)) + self.logger.debug("CLEAN: %s with %s"%(self.delQuery,id)) SimpleSearch(self.db, self.delQuery, [id], ascii=self.ascii_db, result=False) elif self.dbIDs[id] > 0: @@ -129,7 +130,7 @@ def parse(self, filename): args = [ imgd.get(f,None) for f in imgTypes ] args.append(id) # update - #self.logger.debug("UPDATE: %s with %s"%(self.updQuery,args)) + self.logger.debug("UPDATE: %s with %s"%(self.updQuery,args)) SimpleSearch(self.db, self.updQuery, args, ascii=self.ascii_db, result=False) i += 1