Ignore:
Timestamp:
Apr 19, 2013, 9:39:33 PM (12 years ago)
Author:
steve
Message:

Still fiddling with store_version_info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/utilities/system_tools.py

    r8837 r8842  
    248248
    249249    try:
    250         fid = os.popen('svn info')
     250        #fid = os.popen('svn info')
     251        #FIXME SR: This works for python 2.6
     252        txt = subprocess.Popen('svn -info', shell=True, stdout=subprocess.PIPE).communicate()[0]
     253
    251254    except:
    252255        msg = 'Command "svn" is not recognised on the system PATH'
    253256        raise Exception(msg)
    254257    else:   
    255         txt = fid.read()
    256         fid.close()
     258        #txt = fid.read()
     259        #fid.close()
     260
     261        if verbose: print 'response ',txt
    257262
    258263
Note: See TracChangeset for help on using the changeset viewer.