Permalink
Browse files

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

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

Please sign in to comment.