Make pylint happy
This commit is contained in:
parent
706cecd60d
commit
5178029a3c
@ -92,6 +92,7 @@ parser.add_argument('cmd', metavar='COMMAND',
|
|||||||
help='command to run')
|
help='command to run')
|
||||||
|
|
||||||
def copy_stdin(stream):
|
def copy_stdin(stream):
|
||||||
|
'''Copy stdin to *stream*'''
|
||||||
# multiprocessing.Process have sys.stdin connected to /dev/null
|
# multiprocessing.Process have sys.stdin connected to /dev/null
|
||||||
stdin = open(0)
|
stdin = open(0)
|
||||||
for data in iter(lambda: stdin.buffer.read(4096), b''):
|
for data in iter(lambda: stdin.buffer.read(4096), b''):
|
||||||
|
Loading…
Reference in New Issue
Block a user