summaryrefslogtreecommitdiff
path: root/common/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap')
-rw-r--r--common/src/leap/soledad/common/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/leap/soledad/common/errors.py b/common/src/leap/soledad/common/errors.py
index 45433627..7c2d7296 100644
--- a/common/src/leap/soledad/common/errors.py
+++ b/common/src/leap/soledad/common/errors.py
@@ -61,9 +61,9 @@ class AlreadyLockedError(errors.U1DBError):
# maps.
for e in [InvalidTokenError, NotLockedError, AlreadyLockedError]:
http_errors.wire_description_to_status.update({
- (e.wire_description, e.status)})
+ e.wire_description: e.status})
errors.wire_description_to_exc.update({
- (e.wire_description, e)})
+ e.wire_description: e})
# u1db error statuses also have to be updated
http_errors.ERROR_STATUSES = set(