Permalink
Browse files

Flush stdout after logging messages, in case buffered pipes are involved

  • Loading branch information...
1 parent 3a7586a commit bff0ccda6b0f6b8f5d233adcaf8e81b68459bf3f @ksperling ksperling committed Jun 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 s3cmd
View
@@ -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:

0 comments on commit bff0ccd

Please sign in to comment.