Changeset 04630cb913554782a9f0d1e03d3a59f95ada0ecc

Show
Ignore:
Timestamp:
05/14/06 16:59:12 (2 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1147618752 +0000
git-parent:

[c7b70c3b76d4710aa1a718ad5886255b63bd02cc]

git-author:
Clément Stenac <zorglub@videolan.org> 1147618752 +0000
Message:

Be more resilient

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • test/mangle/mangle.py

    r4e8cc7f r04630cb  
    4545    else: 
    4646        l.info( "Potential crash detected : %i, saving results" % suffix ) 
    47         shutil.move( new_file , conf["crashdir"] ) 
    48         shutil.move( log_file , conf["crashdir"] ) 
     47        try: 
     48            shutil.move( new_file , conf["crashdir"] ) 
     49            shutil.move( log_file , conf["crashdir"] ) 
     50        except: 
     51            l.error( "Unable to move file" ) 
    4952 
    5053def process_file( file, source, header_size ):