Changeset 864


Ignore:
Timestamp:
05/15/13 18:13:55 (11 years ago)
Author:
ramonb
Message:

jobmond.py:

  • BATCH_SERVER no longer required: only pbs api support remote connections
  • BATCH_API guessing removed: is now required to be set
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/jobmond/jobmond.py

    r854 r864  
    539539    except ConfigParser.NoOptionError:
    540540
    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
    547544    try:
    548545   
     
    618615    except ConfigParser.NoOptionError, detail:
    619616
    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 )
    626619
    627620    try:
Note: See TracChangeset for help on using the changeset viewer.