mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 02:56:17 +01:00
commit: flush stdout, so that the progress dots are seen directly when being written
This commit is contained in:
parent
05b47f7f98
commit
5c0b0d64b6
@ -861,6 +861,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
print 'Transmitting file data ',
|
print 'Transmitting file data ',
|
||||||
for filename in p.todo_send:
|
for filename in p.todo_send:
|
||||||
sys.stdout.write('.')
|
sys.stdout.write('.')
|
||||||
|
sys.stdout.flush()
|
||||||
p.put_source_file(filename)
|
p.put_source_file(filename)
|
||||||
for filename in p.todo_delete:
|
for filename in p.todo_delete:
|
||||||
p.delete_source_file(filename)
|
p.delete_source_file(filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user