mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 16:32:15 +00:00
14 lines
369 B
Python
14 lines
369 B
Python
#!/usr/bin/python
|
|
#
|
|
|
|
import sys
|
|
|
|
for line in sys.stdin:
|
|
# If line is a 'noisy' warning, don't print it or the following two lines.
|
|
if ('warning: section' in line and 'is deprecated' in line
|
|
or 'note: change section name to' in line):
|
|
next(sys.stdin)
|
|
next(sys.stdin)
|
|
else:
|
|
sys.stdout.write(line)
|
|
sys.stdout.flush() |