Changeset 864 for branches/1.0/jobmond/jobmond.py
- Timestamp:
- 05/15/13 18:13:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/jobmond/jobmond.py
r854 r864 539 539 except ConfigParser.NoOptionError: 540 540 541 # Backwards compatibility for old configs 542 # 543 544 BATCH_SERVER = cfg.get( 'DEFAULT', 'TORQUE_SERVER' ) 545 api_guess = 'pbs' 546 541 # Not required for all API's: only pbs api allows remote connections 542 BATCH_SERVER = None 543 547 544 try: 548 545 … … 618 615 except ConfigParser.NoOptionError, detail: 619 616 620 if BATCH_SERVER and api_guess: 621 622 BATCH_API = api_guess 623 else: 624 print "FATAL ERROR: BATCH_API not set and can't make guess" 625 sys.exit( 1 ) 617 print "FATAL ERROR: BATCH_API not set" 618 sys.exit( 1 ) 626 619 627 620 try:
Note: See TracChangeset
for help on using the changeset viewer.