From 0ed4ddd1920af585a404c1e203dc88d5715640c3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 10 Nov 2015 16:12:42 +0100 Subject: Fix harmless cut'n'paste bugs in merge. --- tools/merge_dist.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/merge_dist.py b/tools/merge_dist.py index 20b6a06..05cffc2 100755 --- a/tools/merge_dist.py +++ b/tools/merge_dist.py @@ -86,8 +86,8 @@ def merge_dist(args, localconfig, frontendnodes, timestamp): print >>sys.stderr, "missing entries:", len(missingentries) sys.stderr.flush() - fetched_entries = 0 - print >>sys.stderr, "fetching missing entries", + sent_entries = 0 + print >>sys.stderr, "send missing entries", sys.stderr.flush() for missingentry in missingentries: ehash = b64decode(missingentry) @@ -96,9 +96,9 @@ def merge_dist(args, localconfig, frontendnodes, timestamp): if sendentryresult["result"] != "ok": print >>sys.stderr, "sendentry:", sendentryresult sys.exit(1) - fetched_entries += 1 - if fetched_entries % 1000 == 0: - print >>sys.stderr, fetched_entries, + sent_entries += 1 + if sent_entries % 1000 == 0: + print >>sys.stderr, sent_entries, sys.stderr.flush() print >>sys.stderr sys.stderr.flush() -- cgit v1.1