diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-05-08 05:56:20 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-05-08 05:56:20 -0300 |
commit | 3ff522b687dcccd1ada5da5aba526057befec007 (patch) | |
tree | 4f3c9e2d2f4744cfeed4e82d780577bac79e4293 /client/src | |
parent | ac0e01ccf4a7d372cddea03ae1982a01e28b9cd0 (diff) |
[refactor] _database -> _db
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/leap/soledad/client/_db/__init__.py (renamed from client/src/leap/soledad/client/_database/__init__.py) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/_db/adbapi.py (renamed from client/src/leap/soledad/client/_database/adbapi.py) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/_db/blobs.py (renamed from client/src/leap/soledad/client/_database/blobs.py) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/_db/dbschema.sql (renamed from client/src/leap/soledad/client/_database/dbschema.sql) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/_db/pragmas.py (renamed from client/src/leap/soledad/client/_database/pragmas.py) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/_db/sqlcipher.py (renamed from client/src/leap/soledad/client/_database/sqlcipher.py) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/_db/sqlite.py (renamed from client/src/leap/soledad/client/_database/sqlite.py) | 0 | ||||
-rw-r--r-- | client/src/leap/soledad/client/api.py | 6 | ||||
-rw-r--r-- | client/src/leap/soledad/client/examples/benchmarks/measure_index_times.py | 2 | ||||
-rw-r--r-- | client/src/leap/soledad/client/examples/benchmarks/measure_index_times_custom_docid.py | 2 | ||||
-rw-r--r-- | client/src/leap/soledad/client/examples/use_adbapi.py | 2 |
11 files changed, 6 insertions, 6 deletions
diff --git a/client/src/leap/soledad/client/_database/__init__.py b/client/src/leap/soledad/client/_db/__init__.py index e69de29b..e69de29b 100644 --- a/client/src/leap/soledad/client/_database/__init__.py +++ b/client/src/leap/soledad/client/_db/__init__.py diff --git a/client/src/leap/soledad/client/_database/adbapi.py b/client/src/leap/soledad/client/_db/adbapi.py index 5c28d108..5c28d108 100644 --- a/client/src/leap/soledad/client/_database/adbapi.py +++ b/client/src/leap/soledad/client/_db/adbapi.py diff --git a/client/src/leap/soledad/client/_database/blobs.py b/client/src/leap/soledad/client/_db/blobs.py index 10b90c71..10b90c71 100644 --- a/client/src/leap/soledad/client/_database/blobs.py +++ b/client/src/leap/soledad/client/_db/blobs.py diff --git a/client/src/leap/soledad/client/_database/dbschema.sql b/client/src/leap/soledad/client/_db/dbschema.sql index ae027fc5..ae027fc5 100644 --- a/client/src/leap/soledad/client/_database/dbschema.sql +++ b/client/src/leap/soledad/client/_db/dbschema.sql diff --git a/client/src/leap/soledad/client/_database/pragmas.py b/client/src/leap/soledad/client/_db/pragmas.py index 870ed63e..870ed63e 100644 --- a/client/src/leap/soledad/client/_database/pragmas.py +++ b/client/src/leap/soledad/client/_db/pragmas.py diff --git a/client/src/leap/soledad/client/_database/sqlcipher.py b/client/src/leap/soledad/client/_db/sqlcipher.py index d22017bd..d22017bd 100644 --- a/client/src/leap/soledad/client/_database/sqlcipher.py +++ b/client/src/leap/soledad/client/_db/sqlcipher.py diff --git a/client/src/leap/soledad/client/_database/sqlite.py b/client/src/leap/soledad/client/_db/sqlite.py index 4f7b1259..4f7b1259 100644 --- a/client/src/leap/soledad/client/_database/sqlite.py +++ b/client/src/leap/soledad/client/_db/sqlite.py diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py index 3dd99227..c62b43f0 100644 --- a/client/src/leap/soledad/client/api.py +++ b/client/src/leap/soledad/client/api.py @@ -54,9 +54,9 @@ from leap.soledad.common.errors import DatabaseAccessError from . import events as soledad_events from . import interfaces as soledad_interfaces from ._crypto import SoledadCrypto -from ._database import adbapi -from ._database import blobs -from ._database import sqlcipher +from ._db import adbapi +from ._db import blobs +from ._db import sqlcipher from ._recovery_code import RecoveryCode from ._secrets import Secrets diff --git a/client/src/leap/soledad/client/examples/benchmarks/measure_index_times.py b/client/src/leap/soledad/client/examples/benchmarks/measure_index_times.py index 276b1200..f9349758 100644 --- a/client/src/leap/soledad/client/examples/benchmarks/measure_index_times.py +++ b/client/src/leap/soledad/client/examples/benchmarks/measure_index_times.py @@ -28,7 +28,7 @@ from twisted.internet import defer, reactor from leap.soledad.common import l2db from leap.soledad.client import adbapi -from leap.soledad.client._database.sqlcipher import SQLCipherOptions +from leap.soledad.client._db.sqlcipher import SQLCipherOptions folder = os.environ.get("TMPDIR", "tmp") diff --git a/client/src/leap/soledad/client/examples/benchmarks/measure_index_times_custom_docid.py b/client/src/leap/soledad/client/examples/benchmarks/measure_index_times_custom_docid.py index d288582b..4f273c64 100644 --- a/client/src/leap/soledad/client/examples/benchmarks/measure_index_times_custom_docid.py +++ b/client/src/leap/soledad/client/examples/benchmarks/measure_index_times_custom_docid.py @@ -27,7 +27,7 @@ import sys from twisted.internet import defer, reactor from leap.soledad.client import adbapi -from leap.soledad.client._database.sqlcipher import SQLCipherOptions +from leap.soledad.client._db.sqlcipher import SQLCipherOptions from leap.soledad.common import l2db diff --git a/client/src/leap/soledad/client/examples/use_adbapi.py b/client/src/leap/soledad/client/examples/use_adbapi.py index 25b32307..ddb1eaae 100644 --- a/client/src/leap/soledad/client/examples/use_adbapi.py +++ b/client/src/leap/soledad/client/examples/use_adbapi.py @@ -24,7 +24,7 @@ import os from twisted.internet import defer, reactor from leap.soledad.client import adbapi -from leap.soledad.client._database.sqlcipher import SQLCipherOptions +from leap.soledad.client._db.sqlcipher import SQLCipherOptions from leap.soledad.common import l2db |