diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/merge.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/merge.py b/tools/merge.py index 6e95206..db9886b 100755 --- a/tools/merge.py +++ b/tools/merge.py @@ -224,7 +224,7 @@ for hash in new_entries: entries_to_fetch[storagenode["name"]].append(hash) break -if not noverify: +if not args.noverify: verifycert = subprocess.Popen([paths["verifycert_bin"], paths["known_roots"]], stdin=subprocess.PIPE, stdout=subprocess.PIPE) @@ -236,7 +236,7 @@ for storagenode in storagenodes: entries = get_entries(storagenode["name"], "https://%s/" % storagenode["address"], chunk) for hash in chunk: entry = entries[hash] - if not noverify: + if not args.noverify: verify_entry(verifycert, entry, hash) write_chain(hash, entry) add_to_logorder(hash) @@ -252,7 +252,7 @@ timing_point(timing, "add entries") print >>sys.stderr, "added", added_entries, "entries" sys.stderr.flush() -if not noverify: +if not args.noverify: verifycert.communicate(struct.pack("I", 0)) tree = build_merkle_tree(logorder) |