Changeset 8842 for trunk/anuga_core/source/anuga/utilities/system_tools.py
- Timestamp:
- Apr 19, 2013, 9:39:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/utilities/system_tools.py
r8837 r8842 248 248 249 249 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 251 254 except: 252 255 msg = 'Command "svn" is not recognised on the system PATH' 253 256 raise Exception(msg) 254 257 else: 255 txt = fid.read() 256 fid.close() 258 #txt = fid.read() 259 #fid.close() 260 261 if verbose: print 'response ',txt 257 262 258 263
Note: See TracChangeset
for help on using the changeset viewer.