IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36713


Ignore:
Timestamp:
May 1, 2014, 8:26:22 AM (12 years ago)
Author:
heather
Message:

more changes

File:
1 edited

Legend:

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

    r36711 r36713  
    527527        try:
    528528            rs = self.executeQuery(sql)
    529             while (rs.next()):
    530                 rows.append([rs.getInt(1)])
    531             rs.close()   
     529            rs.first()
     530            return rs.getInt()
     531           
    532532        except:   
    533533            self.logger.exception("can't query for stackid in DVO")
     
    535535            return -999
    536536
    537         self.logger.infoPair("number of stackIDs found ", len(rows))
    538         return rows
     537        return 0
Note: See TracChangeset for help on using the changeset viewer.