IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32018


Ignore:
Timestamp:
Aug 3, 2011, 4:25:05 PM (15 years ago)
Author:
rhenders
Message:

returning 'None' rather than 'NULL' when getting cmf or smf objects

File:
1 edited

Legend:

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

    r31919 r32018  
    223223            files = glob.glob(path + "/*.smf")
    224224
    225         if len(files) < 1: return "NULL"
     225        if len(files) < 1: return None
    226226
    227227        return Fits(self.logger, self.doc, files[0]) # TODO just returning first file - check
     
    261261
    262262        self.logger.error("Could not find stack cmf")
    263         return "NULL"
     263        return None
    264264
    265265    '''
Note: See TracChangeset for help on using the changeset viewer.