Changeset 635 for branches


Ignore:
Timestamp:
Oct 18, 2007 8:42:31 AM (12 years ago)
Author:
jpfasano
Message:

Updated to display path with error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBemail.py

    r626 r635  
    4040
    4141  emailMsg += "Operating System: "+sys.platform+" "+os.name+"\n"
    42   emailMsg += "Host name: "+gethostname()+"\n\n"
     42  emailMsg += "Host name: "+gethostname()+"\n"
     43
     44  if os.environ.has_key("PROCESSOR_IDENTIFIER") :
     45    emailMsg += "Processor: "+os.environ["PROCESSOR_IDENTIFIER"]+"\n"
     46                                         
     47  if os.environ.has_key("NUMBER_OF_PROCESSORS") :
     48    emailMsg += "Number of processors: "+os.environ["NUMBER_OF_PROCESSORS"]+"\n"
     49   
     50  if os.environ.has_key("PATH") :
     51    emailMsg += "PATH: "+os.environ["PATH"]+"\n"
     52
     53  emailMsg +="\n"
    4354
    4455  emailMsg += "stderr messages are:\n"
Note: See TracChangeset for help on using the changeset viewer.