Make pylint happy

This commit is contained in:
Marek Marczykowski-Górecki 2017-07-18 01:32:06 +02:00
parent 706cecd60d
commit 5178029a3c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -92,6 +92,7 @@ parser.add_argument('cmd', metavar='COMMAND',
help='command to run')
def copy_stdin(stream):
'''Copy stdin to *stream*'''
# multiprocessing.Process have sys.stdin connected to /dev/null
stdin = open(0)
for data in iter(lambda: stdin.buffer.read(4096), b''):