IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34987


Ignore:
Timestamp:
Jan 19, 2013, 6:53:51 AM (13 years ago)
Author:
eugene
Message:

add "once" option to loader (do not loop)"

File:
1 edited

Legend:

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

    r34958 r34987  
    7171           self.exitProgram("init batch created")
    7272   
     73
     74        # if an IN batch is requested, create and quit
     75        self.onePassOnly = 0
     76        if len(sys.argv) > 2 and sys.argv[2] == "once":
     77           self.onePassOnly = 1
    7378
    7479        # set a poll time of about 1 minute
     
    192197            elif numAttempts > 1 and not self.waitForPollTime():  break
    193198
     199            if self.onePassOnly: self.exitProgram("one pass completed")
    194200       
    195201    '''
Note: See TracChangeset for help on using the changeset viewer.