- Timestamp:
- Mar 5, 2013, 2:23:09 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130207/ippToPsps
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
jython/objectbatch.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130207/ippToPsps
- Property svn:mergeinfo changed
/trunk/ippToPsps (added) merged: 35170-35171,35173-35175,35177-35179,35181-35188,35190-35191,35203-35204,35216-35218,35222-35226,35232-35233
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130207/ippToPsps/jython/objectbatch.py
r35097 r35235 54 54 55 55 try: 56 self.dvoObjects = DvoObjects(self.logger, self.config, self.skychunk, self.ippToPspsDb, self.scratchDb.dbName) 56 ## XX pass in the existing connection to scratchDb 57 self.dvoObjects = DvoObjects(self.logger, self.config, self.skychunk, self.ippToPspsDb, self.scratchDb) 57 58 except: 58 59 self.logger.errorPair("Unable to create instance of", "DvoObjects") … … 77 78 else: 78 79 self.dvoObjects.ingestRegion(self.region) 80 81 cptTableName = self.scratchDb.getDbFriendlyTableName(self.region + ".cpt") 82 if not self.scratchDb.tableExists(cptTableName): 83 return False 79 84 80 85 return True … … 252 257 ,dataRelease \ 253 258 ,Random \ 259 ,batchID \ 254 260 ) \ 255 261 SELECT \ … … 268 274 , " + str(self.skychunk.dataRelease) + "\ 269 275 , RAND() \ 276 , " + str(self.batchID) + "\ 270 277 FROM " + cptTableName 271 278
Note:
See TracChangeset
for help on using the changeset viewer.
