IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35088


Ignore:
Timestamp:
Feb 6, 2013, 11:07:50 AM (13 years ago)
Author:
eugene
Message:

remove some test prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/jython/ipptopsps.py

    r35076 r35088  
    4545        # argv[1] -> self.skychunk.name
    4646        self.skychunk = Skychunk(self.logger)
    47         print "here... "
    4847
    4948        # create connection to databases database
     
    5453            raise
    5554
    56         print "here... "
    57 
    5855        self.checkClientStatus()
    59         print "here... "
    6056
    6157        # catch Ctrl-C signal
    6258        signal.signal(signal.SIGINT, self.signal_handler)
    63         print "here... "
    6459
    6560        # title for log
     
    6964        self.logger.infoPair("PID", "%d" % self.PID)
    7065        self.logger.infoPair("Skychunk", self.skychunk.name)
    71         print "here... "
    7266
    7367    '''
     
    118112    def refreshSkychunk(self):
    119113
    120         print "refresh... "
    121         print "self.skychunk.createNewSkychunk:  ", self.skychunk.createNewSkychunk
    122 
    123114        # new skychunk?
    124115        if self.skychunk.createNewSkychunk:
    125             print "self.skychunk.createNewSkychunk:  ", self.skychunk.createNewSkychunk
    126116            self.ippToPspsDb.editSkychunk()
    127             print "self.skychunk.createNewSkychunk:  ", self.skychunk.createNewSkychunk
    128117            self.ippToPspsDb.setSkychunkForThisClient(self.skychunk.name, self.HOST, self.PID)
    129             print "self.skychunk.createNewSkychunk:  ", self.skychunk.createNewSkychunk
    130118            self.skychunk.createNewSkychunk = False
    131119
    132         print "refresh... "
    133120        # if we are rotating skychunks, then look for next active one in list
    134121        if self.skychunk.rotateSkychunks:
     
    146133            self.ippToPspsDb.setSkychunkForThisClient(newSkychunk, self.HOST, self.PID)
    147134
    148         print "refresh... "
    149135        return self.ippToPspsDb.readSkychunk(self.HOST, self.PID)
    150136
     
    154140    def checkClientStatus(self):
    155141
    156         print "stat... "
    157142        self.ippToPspsDb.updateClient(self.config.programName, self.HOST, self.PID)
    158143
    159         print "stat... "
    160144        if self.ippToPspsDb.isKilled(self.HOST, self.PID):
    161145            self.exitProgram("killed via Db")
     
    163147        # this loop pauses the process if we have no skychunk or we have set it to pause
    164148        firstTimeIn = True
    165         print "stat... "
    166149        while not self.refreshSkychunk() or self.ippToPspsDb.isPaused(self.HOST, self.PID):
    167150
    168             print "stat... "
    169151            self.ippToPspsDb.updateClient(self.config.programName, self.HOST, self.PID)
    170152            if self.ippToPspsDb.isKilled(self.HOST, self.PID):
     
    173155            firstTimeIn = False
    174156            time.sleep(self.PAUSEPERIOD)
    175 
    176         print "stat done... "
    177157
    178158
Note: See TracChangeset for help on using the changeset viewer.