diff options
author | Kali Kaneko <kali@leap.se> | 2014-08-15 13:24:25 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-08-15 13:24:25 -0500 |
commit | 6ba98af198db2884d1b43da90683bdb399a589c8 (patch) | |
tree | 1390542fcecc318a18206101c2720144106cf025 /scripts | |
parent | 365fa1603a977040a1891880a66118f196a54ac0 (diff) | |
parent | ab7850bbdcded8b0e36cb27a2468f55d1910c218 (diff) |
Merge remote-tracking branch 'drebs-github/feature/5895_store-all-incoming-documents-in-sync-db' into develop
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/db_access/client_side_db.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/db_access/client_side_db.py b/scripts/db_access/client_side_db.py index 6c456c41..67c5dbe1 100644 --- a/scripts/db_access/client_side_db.py +++ b/scripts/db_access/client_side_db.py @@ -26,7 +26,7 @@ from util import ValidateUserHandle # create a logger logger = logging.getLogger(__name__) LOG_FORMAT = '%(asctime)s %(message)s' -logging.basicConfig(format=LOG_FORMAT, level=logging.INFO) +logging.basicConfig(format=LOG_FORMAT, level=logging.DEBUG) safe_unhexlify = lambda x: binascii.unhexlify(x) if ( @@ -119,7 +119,8 @@ def get_soledad_instance(username, provider, passphrase, basedir): local_db_path=local_db_path, server_url=server_url, cert_file=cert_file, - auth_token=token) + auth_token=token, + defer_encryption=False) # main program @@ -153,3 +154,4 @@ if __name__ == '__main__': # get the soledad instance s = get_soledad_instance( args.username, args.provider, passphrase, basedir) + s.sync() |