Changeset 8439


Ignore:
Timestamp:
May 23, 2012, 4:55:17 PM (12 years ago)
Author:
gray
Message:

Fix so produce_results keeps on working if it can not delete a .svn directory.

Location:
trunk/anuga_core/validation_tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/produce_results.py

    r8437 r8439  
    99Upper_dirs = os.listdir('./Tests')
    1010#print Upper_dirs
    11 Upper_dirs.remove('.svn')
     11try:
     12    Upper_dirs.remove('.svn')
     13except ValueError:
     14    pass
    1215#print Upper_dirs
    1316os.chdir('./Tests')
     
    1821    #print 'Changing to', os.getcwd()
    1922    Lower_dirs = os.listdir('.')
    20     Lower_dirs.remove('.svn')
     23    try:
     24        Lower_dirs.remove('.svn')
     25    except ValueError:
     26        pass
    2127    #print Lower_dirs
    2228    for l_dir in Lower_dirs:
Note: See TracChangeset for help on using the changeset viewer.