diff options
author | Adam Spiers <github@adamspiers.org> | 2019-01-21 00:03:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 00:03:33 +0100 |
commit | 45166151f6ec26ac04c53c7ff41217ffab78d917 (patch) | |
tree | 6d07c622bf12c3a076fc3a987d115ab7b4e778e2 /git_deps | |
parent | 04c30cd050238eb6a902a2ab9781c23b5afd1c67 (diff) | |
parent | 76ea8fdcc88bcf23cf480350d09da7bc379d4f33 (diff) | |
download | git-deps-45166151f6ec26ac04c53c7ff41217ffab78d917.tar.gz |
Merge pull request #81 from bmwiedemann/unbuffered
Use unbuffered IO
Diffstat (limited to 'git_deps')
-rwxr-xr-x | git_deps/cli.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_deps/cli.py b/git_deps/cli.py index be2fb45..9e8b0ab 100755 --- a/git_deps/cli.py +++ b/git_deps/cli.py @@ -22,6 +22,7 @@ from __future__ import print_function import argparse import json +import os import sys from git_deps import __version__ @@ -134,6 +135,7 @@ def main(args): if options.serve: serve(options) else: + sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) try: cli(options, args) except InvalidCommitish as e: |