aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps
diff options
context:
space:
mode:
authorAdam Spiers <github@adamspiers.org>2019-01-21 00:03:33 +0100
committerGitHub <noreply@github.com>2019-01-21 00:03:33 +0100
commit45166151f6ec26ac04c53c7ff41217ffab78d917 (patch)
tree6d07c622bf12c3a076fc3a987d115ab7b4e778e2 /git_deps
parent04c30cd050238eb6a902a2ab9781c23b5afd1c67 (diff)
parent76ea8fdcc88bcf23cf480350d09da7bc379d4f33 (diff)
downloadgit-deps-45166151f6ec26ac04c53c7ff41217ffab78d917.tar.gz
Merge pull request #81 from bmwiedemann/unbuffered
Use unbuffered IO
Diffstat (limited to 'git_deps')
-rwxr-xr-xgit_deps/cli.py2
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: