IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 12, 2012, 11:22:01 AM (14 years ago)
Author:
rhenders
Message:

printing dupe objIDs found as well as total objects to log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/objectbatch.py

    r33769 r33771  
    248248        self.scratchDb.execute("ALTER IGNORE TABLE Object ADD UNIQUE INDEX(objID)")
    249249        rowCountAfter = self.scratchDb.getRowCount("Object")
    250         self.logger.infoPair("Number of duplicated objIDs removed", "%d" % (rowCountBefore - rowCountAfter))
    251 
    252         return True
    253 
     250        self.logger.infoPair("Number of duplicated objIDs removed", "%d out of %d" % ((rowCountBefore - rowCountAfter), rowCountBefore))
     251
     252        return True
     253
Note: See TracChangeset for help on using the changeset viewer.