(file) Return to checkprod.py CVS log (file) (dir) Up to [Development] / JSOC / build

Diff for /JSOC/build/checkprod.py between version 1.2 and 1.3

version 1.2, 2015/01/30 04:10:33 version 1.3, 2015/01/30 22:59:39
Line 16  WAYSTATION_USER = 'arta'
Line 16  WAYSTATION_USER = 'arta'
 WAYSTATION_DOMAIN = 'sun.stanford.edu' WAYSTATION_DOMAIN = 'sun.stanford.edu'
  
 RV_SUCCESS = 0 RV_SUCCESS = 0
 RV_ERROR_MAIL = -1  RV_ERROR_MAIL = 1
   RV_ERROR_ARGS = 2
  
 # This class changes the current working directory, and restores the original working directory when # This class changes the current working directory, and restores the original working directory when
 # the context is left. # the context is left.
Line 77  def getArgs():
Line 78  def getArgs():
         msg = exc.args[1]         msg = exc.args[1]
  
         if etype == 'CmdlParser-ArgUnrecognized' or etype == 'CmdlParser-ArgBadformat' or etype == 'CmdlParser':         if etype == 'CmdlParser-ArgUnrecognized' or etype == 'CmdlParser-ArgBadformat' or etype == 'CmdlParser':
             raise Exception('getArgs', 'Unable to parse command-line arguments.')              raise Exception('getArgs', 'Unable to parse command-line arguments.', RV_ERROR_ARGS)
         else:         else:
             raise # Re-raise.             raise # Re-raise.
  


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Karen Tian
Powered by
ViewCVS 0.9.4