- Timestamp:
- Jan 11, 2015, 1:31:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/ippToPsps/jython/loader.py
r37355 r37801 24 24 from objectbatch import ObjectBatch 25 25 26 from diffbatch import DiffBatch 27 from diffobjectbatch import DiffObjectBatch 28 29 #from forcedwarpbatch import ForcedWarpBatch 30 #from forcedobjectbatch import ForcedObjectBatch 31 # 32 # 26 33 ''' 27 34 Loader class … … 191 198 # loop round IDs of all items to be processed 192 199 self.ippToPspsDb.lockBatchTable() 193 #self.logger.infoPair("heather:","lockbatchtable")200 self.logger.infoPair("heather:","lockbatchtable") 194 201 unattemptedCount = 0 195 202 for id in ids: 196 #self.logger.infoPair("heather:","in ids")203 self.logger.infoPair("heather:","in ids") 197 204 #self.logger.infoPair("heather:id",str(id)) 198 205 batchID = self.ippToPspsDb.createNewBatch(batchType, id) … … 202 209 unattemptedCount += 1 203 210 continue 204 #self.logger.infoPair("heather:","passed logic")211 self.logger.infoPair("heather:","passed logic") 205 212 206 213 self.ippToPspsDb.unlockTables() … … 244 251 245 252 elif batchType == "DF": 253 self.logger.infoPair("wegothere!","we are awesome") 246 254 batch = DiffBatch(self.logger, 247 255 self.config,
Note:
See TracChangeset
for help on using the changeset viewer.
