mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Restore check_call for sed
This commit is contained in:
@@ -42,9 +42,7 @@ def main():
|
||||
# sed header
|
||||
if header_lines > 0:
|
||||
sed_header = ['sed', '-n', "1,%dp" % header_lines, input]
|
||||
exit_code = subprocess.call(sed_header, stdout=out)
|
||||
if exit_code:
|
||||
stop_err('Capturing header lines failed')
|
||||
subprocess.check_call(sed_header, stdout=out)
|
||||
|
||||
# grep comments
|
||||
grep_comments = ['grep', '^#', input]
|
||||
|
||||
Reference in New Issue
Block a user