Ignore:
Timestamp:
Oct 17, 2007 1:15:02 PM (13 years ago)
Author:
jpfasano
Message:

use the python version number to decide how to implement function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBosCommand.py

    r631 r632  
    22
    33from socket import gethostname
     4import sys
    45
    56#------------------------------------------------------------------------
     
    1011def run(cmd) :
    1112
    12   if gethostname()=='math01.watson.ibm.com' :
     13  if sys.version[:6]<'2.4.0' :
    1314
    1415    # this machine has a back level of python, so must use an older
Note: See TracChangeset for help on using the changeset viewer.