From: Simon Hausmann Date: Wed, 31 Jan 2007 21:47:53 +0000 (+0100) Subject: display progress again (forgot to flush) X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=7263558fda168eaa7e654bd07cd7d9975ccee0da;p=python%2Ffast-export.git display progress again (forgot to flush) --- diff --git a/p4-fast-export.py b/p4-fast-export.py index 72e0122..a1dc540 100644 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -91,6 +91,7 @@ for change in changes: description = p4Cmd("describe %s" % change) sys.stdout.write("\rimporting revision %s (%s%%)" % (change, cnt * 100 / len(changes))) + sys.stdout.flush() cnt = cnt + 1 epoch = description["time"]