diff options
| author | josef <josef.gson@gmail.com> | 2015-10-19 13:51:45 +0200 |
|---|---|---|
| committer | josef <josef.gson@gmail.com> | 2015-10-19 13:51:45 +0200 |
| commit | 833f64c2621b8cef3ec350d530541498d7173dbc (patch) | |
| tree | 32812e96bd575540f2f0542967e8b0387df17cce /monitor/josef_experimental.py | |
| parent | e432e62cc2ae7c7cbe7639eb476939ddc27afb85 (diff) | |
adding code for analyzing overlap
Diffstat (limited to 'monitor/josef_experimental.py')
| -rwxr-xr-x | monitor/josef_experimental.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/monitor/josef_experimental.py b/monitor/josef_experimental.py index cef06a6..fa553a0 100755 --- a/monitor/josef_experimental.py +++ b/monitor/josef_experimental.py @@ -4,10 +4,10 @@ import sys import os from josef_lib import * -import leveldb +# import leveldb import argparse import json -from josef_leveldb import * +# from josef_leveldb import * from datetime import datetime as dt # from josef_monitor import verify_inclusion_by_hash from monitor_conf import * @@ -69,6 +69,12 @@ def update_roots(log): if __name__ == '__main__': + for log in CTLOGS: + url = log["url"] + try: + get_entries(url,2001,2001) + except Exception, e: + print "Failed to get entry from " + log["name"], e # dbdir = "tmpdb/" # entry = get_entries(ctlogs[0]["url"], 1,1)["entries"] |
