summaryrefslogtreecommitdiff
path: root/src/leap/soledad/backends/couch.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-05-01 16:12:33 -0300
committerdrebs <drebs@leap.se>2013-05-01 16:23:50 -0300
commitf2d588a965ee7fd76985d16b5ad93dc66b9d2be1 (patch)
tree8aecf4fb6d658a768ba2e7d7e14f43970e83e4b8 /src/leap/soledad/backends/couch.py
parentf0f07d240cbd5e7135076da0b1ce1dddb04fbc25 (diff)
Fix some items from second review.
Items are: * remove unused imports. * __init__.py: initialize variable before read from file. * backends/leap_backend.py: Fix mistyped exception name, fix docstring of encryption function.
Diffstat (limited to 'src/leap/soledad/backends/couch.py')
-rw-r--r--src/leap/soledad/backends/couch.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/soledad/backends/couch.py b/src/leap/soledad/backends/couch.py
index 4dcea3f8..360f3211 100644
--- a/src/leap/soledad/backends/couch.py
+++ b/src/leap/soledad/backends/couch.py
@@ -29,10 +29,7 @@ except ImportError:
from base64 import b64encode, b64decode
from u1db import errors
-from u1db.sync import (
- LocalSyncTarget,
- Synchronizer,
-)
+from u1db.sync import Synchronizer
from u1db.backends.inmemory import InMemoryIndex
from u1db.remote.server_state import ServerState
from u1db.errors import DatabaseDoesNotExist