Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,696
Issues
1,696
List
Boards
Labels
Service Desk
Milestones
Merge Requests
88
Merge Requests
88
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
c0bdefd2
Commit
c0bdefd2
authored
Sep 15, 2016
by
Mikaël Salson
Committed by
Mathieu Giraud
Sep 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pear.py: raise error when exit code ≠ 0
parent
04883a8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tools/pear.py
tools/pear.py
+3
-1
No files found.
tools/pear.py
View file @
c0bdefd2
...
...
@@ -25,7 +25,7 @@ f_r2 = args.file_R2
f_out
=
args
.
output_file
subprocess
.
call
([
"pear"
,
exit_code
=
subprocess
.
call
([
"pear"
,
"-f"
,
f_r1
,
"-r"
,
f_r2
,
"-o"
,
f_out
,
...
...
@@ -33,6 +33,8 @@ subprocess.call(["pear",
+
shlex
.
split
(
args
.
pear_options
)
)
if
exit_code
>
0
:
raise
EnvironmentError
"Pear failed"
try
:
with
gzip
.
open
(
f_out
,
'w'
)
as
outFile
:
...
...
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