Changeset 39694 for trunk/ippToPsps/jython/fits.py
- Timestamp:
- Sep 13, 2016, 3:24:46 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/fits.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/fits.py
r39661 r39694 29 29 numtries = 0 30 30 success = 0 31 31 time_wait=30 32 32 while (numtries < 5 and success == 0): 33 33 numtries = numtries +1 … … 37 37 self.logger.infoPair("success to read file", self.originalPath) 38 38 else: #if it fails, wait 30 seconds before looping 39 time.sleep(30) 39 time.sleep(time_wait) 40 time_wait= 120 #(first time, wait 30 seconds) 40 41 41 42 if success == 0:
Note:
See TracChangeset
for help on using the changeset viewer.
