From d643db5f029b44b8e0d876790badb65fde8fa5ab Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 17 Jul 2015 01:41:21 +0200 Subject: Add --noverify option to merge.py. --- tools/merge.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/merge.py') diff --git a/tools/merge.py b/tools/merge.py index 9904b84..69d503b 100755 --- a/tools/merge.py +++ b/tools/merge.py @@ -30,6 +30,7 @@ parser.add_argument('--config', help="System configuration", required=True) parser.add_argument('--localconfig', help="Local configuration", required=True) parser.add_argument("--nomerge", action='store_true', help="Don't actually do merge") parser.add_argument("--timing", action='store_true', help="Print timing information") +parser.add_argument("--noverify", action='store_true', help="Don't verify entries") args = parser.parse_args() config = yaml.load(open(args.config)) @@ -234,7 +235,8 @@ for storagenode in storagenodes: entries = get_entries(storagenode["name"], "https://%s/" % storagenode["address"], chunk) for hash in chunk: entry = entries[hash] - verify_entry(verifycert, entry, hash) + if not noverify: + verify_entry(verifycert, entry, hash) write_chain(hash, entry) add_to_logorder(hash) logorder.append(hash) -- cgit v1.1