def checkout_branch(branch):

    repo_check()

    _, stdout, stderr = repo.git.execute([git, 'checkout', branch],
                                         with_extended_output=True)
    return '\n'.join([stderr, stdout])
Send response header for text/event-stream
dataset/ETHPy150Open kennethreitz/legit/legit/scm.py/checkout_branch--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py/CalvinControl.send_streamheader