diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-28 21:40:43 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-07-12 03:09:24 +0200 |
commit | b5aa97e9f88934dd73af84f212c95775f97769a9 (patch) | |
tree | 382b243aca84daf0d400a79cef95b84935632d7f /client/src/leap/soledad/client/http_target/support.py | |
parent | 7abf86737562b5c79e902921df722f01e71178e6 (diff) |
[refactor] make tests use l2db submodule
From this moment on, we embed a fork of u1db called l2db.
Diffstat (limited to 'client/src/leap/soledad/client/http_target/support.py')
-rw-r--r-- | client/src/leap/soledad/client/http_target/support.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/http_target/support.py b/client/src/leap/soledad/client/http_target/support.py index 2625744c..d82fe346 100644 --- a/client/src/leap/soledad/client/http_target/support.py +++ b/client/src/leap/soledad/client/http_target/support.py @@ -16,14 +16,15 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import warnings import json -from u1db import errors -from u1db.remote import http_errors + from twisted.internet import defer from twisted.web.client import _ReadBodyProtocol from twisted.web.client import PartialDownloadError from twisted.web._newclient import ResponseDone from twisted.web._newclient import PotentialDataLoss +from leap.soledad.common.l2db import errors +from leap.soledad.common.l2db.remote import http_errors # we want to make sure that HTTP errors will raise appropriate u1db errors, # that is, fire errbacks with the appropriate failures, in the context of |