diff options
Diffstat (limited to 'monitor/josef_monitor.py')
| -rwxr-xr-x | monitor/josef_monitor.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py index aacc59c..97092bc 100755 --- a/monitor/josef_monitor.py +++ b/monitor/josef_monitor.py @@ -266,11 +266,9 @@ def verify_inclusion_by_hash(base_url, leaf_hash): return True else: print time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for entry " + str(proof["leaf_index"]) + " in " + base_url - errors.append(time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for entry " + str(proof["leaf_index"]) + " in " + base_url) return False except: print time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for hashed entry in " + base_url - errors.append(time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for hashed entry in " + base_url) return False def verify_inclusion_by_index(base_url, index): @@ -343,7 +341,7 @@ def main(args): logs = [] try: for item in ctlogs: - logs.append(ctlog(item, ctlogs[item][0], ctlogs[item][1], ctlogs[item][2])) + logs.append(ctlog(item["name"], item["url"], item["key"], item["id"])) print time.strftime('%H:%M:%S') + " Setting up monitor for " + str(len(logs)) + " logs..." # Set up state |
