Changeset 04630cb913554782a9f0d1e03d3a59f95ada0ecc
- 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
| r4e8cc7f |
r04630cb |
|
| 45 | 45 | else: |
|---|
| 46 | 46 | 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" ) |
|---|
| 49 | 52 | |
|---|
| 50 | 53 | def process_file( file, source, header_size ): |
|---|