1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 22:56:15 +01:00

commit: flush stdout, so that the progress dots are seen directly when being written

This commit is contained in:
Dr. Peter Poeml 2007-07-18 13:05:13 +00:00
parent 05b47f7f98
commit 5c0b0d64b6

View File

@ -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)