def get_lines(command):
    stdout = get_output(command)
    return [line.strip().decode('utf-8') for line in stdout.splitlines()]
Run a command and return lines of output
dataset/ETHPy150Open timothycrosley/isort/isort/hooks.py/get_lines