summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/l2db/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/l2db/__init__.py')
-rw-r--r--common/src/leap/soledad/common/l2db/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/leap/soledad/common/l2db/__init__.py b/common/src/leap/soledad/common/l2db/__init__.py
index cc121d06..c0bd15fe 100644
--- a/common/src/leap/soledad/common/l2db/__init__.py
+++ b/common/src/leap/soledad/common/l2db/__init__.py
@@ -464,8 +464,8 @@ class DocumentBase(object):
"""
# Since this is just for testing, we don't worry about comparing
# against things that aren't a Document.
- return ((self.doc_id, self.rev, self.get_json())
- < (other.doc_id, other.rev, other.get_json()))
+ return ((self.doc_id, self.rev, self.get_json()) <
+ (other.doc_id, other.rev, other.get_json()))
def get_json(self):
"""Get the json serialization of this document."""