From 5c0b0d64b6a5310bbd889e37e31848a7a7c7e88d Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Wed, 18 Jul 2007 13:05:13 +0000 Subject: [PATCH] commit: flush stdout, so that the progress dots are seen directly when being written --- osc/commandline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osc/commandline.py b/osc/commandline.py index 4e555143..29dd205f 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -861,6 +861,7 @@ class Osc(cmdln.Cmdln): print 'Transmitting file data ', for filename in p.todo_send: sys.stdout.write('.') + sys.stdout.flush() p.put_source_file(filename) for filename in p.todo_delete: p.delete_source_file(filename)