Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
04630cb9
Commit
04630cb9
authored
May 14, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be more resilient
parent
c7b70c3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
test/mangle/mangle.py
test/mangle/mangle.py
+5
-2
No files found.
test/mangle/mangle.py
View file @
04630cb9
...
@@ -44,8 +44,11 @@ def process_file_once( file, header_size ):
...
@@ -44,8 +44,11 @@ def process_file_once( file, header_size ):
os
.
remove
(
log_file
)
os
.
remove
(
log_file
)
else
:
else
:
l
.
info
(
"Potential crash detected : %i, saving results"
%
suffix
)
l
.
info
(
"Potential crash detected : %i, saving results"
%
suffix
)
shutil
.
move
(
new_file
,
conf
[
"crashdir"
]
)
try
:
shutil
.
move
(
log_file
,
conf
[
"crashdir"
]
)
shutil
.
move
(
new_file
,
conf
[
"crashdir"
]
)
shutil
.
move
(
log_file
,
conf
[
"crashdir"
]
)
except
:
l
.
error
(
"Unable to move file"
)
def
process_file
(
file
,
source
,
header_size
):
def
process_file
(
file
,
source
,
header_size
):
l
.
info
(
"Starting work on "
+
file
)
l
.
info
(
"Starting work on "
+
file
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment