Skip to content

Commit 0677b3e

Browse files
committed
Move the flush to after the print it's flushing.
1 parent 6d15e89 commit 0677b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/tools/replicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ def main():
118118
else:
119119
target.replicate(sdb, tdb)
120120
print '%.1fs' % (time.time() - start)
121+
sys.stdout.flush()
121122

122123
if not options.compact:
123124
return
124125

125-
sys.stdout.flush()
126126
for dbname in dbnames:
127127
target_server[dbname].compact()
128128

0 commit comments

Comments
 (0)