IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2014, 9:52:00 AM (12 years ago)
Author:
eugene
Message:

scatter some debugging prints around; replace safeDictionaryAccess (terrible name) with getKeyValue; fix use of strings vs sql words in insert queries; fix detections for new schema; remove use of old dvograbber-based code; clean some avoidable errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/batch.py

    r37129 r37133  
    230230    '''
    231231    def safeDictionaryAccess(self, header, key):
     232
     233         if key in header: return header[key]
     234         else:
     235             self.logger.errorPair("Missing header field", key)
     236             return "NULL"
     237
     238    '''
     239    Returns the string keyword value from this header or else "NULL"
     240    '''
     241    def getKeyValue(self, header, key):
    232242
    233243         if key in header: return header[key]
Note: See TracChangeset for help on using the changeset viewer.