Skip to content
This repository has been archived by the owner on Nov 4, 2018. It is now read-only.

Commit

Permalink
Flush stdout after logging messages, in case buffered pipes are involved
Browse files Browse the repository at this point in the history
  • Loading branch information
ksperling committed Jun 27, 2012
1 parent 0ee2758 commit 07d6d87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions s3cmd
Expand Up @@ -31,6 +31,7 @@ from distutils.spawn import find_executable

def output(message):
sys.stdout.write(message + "\n")
sys.stdout.flush()

def check_args_type(args, type, verbose_type):
for arg in args:
Expand Down

0 comments on commit 07d6d87

Please sign in to comment.