Fix minor mistakes in log_call

This commit is contained in:
Anders Ingemann 2014-05-03 23:15:10 +02:00
parent b25e607388
commit 858e325fac

View file

@ -6,12 +6,6 @@ def log_check_call(command, stdin=None, env=None, shell=False):
return stdout
def stream_readline(args):
stream, q = args
for line in iter(stream.readline, ''):
q.put((stream, line.strip()))
def log_call(command, stdin=None, env=None, shell=False):
import subprocess
import logging