commit 661a3034877278ab89d0012c84a68d6ddfffe062 Author: aagbsn aagbsn@extc.org Date: Thu May 23 16:19:17 2013 -0400
Updates the imports to reflect the repository changes and sets the default paths to the right values for deploying on MLAB. --- scripts/archive_reports.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/archive_reports.py b/scripts/archive_reports.py index c49bd7a..d8c1394 100755 --- a/scripts/archive_reports.py +++ b/scripts/archive_reports.py @@ -8,16 +8,16 @@ import re from ipaddr import IPAddress from datetime import timedelta from datetime import datetime -from ooni.otime import fromTimestamp, timestamp -from ooni.otime import InvalidTimestampFormat, utcDateNow -from ooni.utils import log +from oonib.otime import fromTimestamp, timestamp +from oonib.otime import InvalidTimestampFormat, utcDateNow +from oonib import log
############################################################################### # You can set some config options here # ############################################################################### report_age = 1 # hours -report_archive_dir = '/home/user/oonib/reports/archived' -report_source_dir = '/home/user/oonib/reports' +report_archive_dir = '/var/spool/mlab_ooni/archived' +report_source_dir = '/var/spool/mlab_ooni' valid_test_versions = ['0.1', '0.1.1', '0.4', '0.1.3'] default_probe_cc = '??' target_permission = 0444