Fixed displaying import progress by calling flush on stdout.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
parent
f26037dce3
commit
214bed8239
@ -91,6 +91,7 @@ for change in changes:
|
|||||||
description = p4Cmd("describe %s" % change)
|
description = p4Cmd("describe %s" % change)
|
||||||
|
|
||||||
sys.stdout.write("\rimporting revision %s (%s%%)" % (change, cnt * 100 / len(changes)))
|
sys.stdout.write("\rimporting revision %s (%s%%)" % (change, cnt * 100 / len(changes)))
|
||||||
|
sys.stdout.flush()
|
||||||
cnt = cnt + 1
|
cnt = cnt + 1
|
||||||
|
|
||||||
epoch = description["time"]
|
epoch = description["time"]
|
||||||
|
Loading…
Reference in New Issue
Block a user