From 89646439e7afbffe7209d218f454ee0fa03a2f14 Mon Sep 17 00:00:00 2001 From: Deepak Thukral Date: Wed, 10 Nov 2010 21:02:59 +0100 Subject: [PATCH] fixed typo in error message --- mongoengine/queryset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongoengine/queryset.py b/mongoengine/queryset.py index e46380b6..55201009 100644 --- a/mongoengine/queryset.py +++ b/mongoengine/queryset.py @@ -78,7 +78,7 @@ class SimplificationVisitor(QNodeVisitor): # to a single field intersection = ops.intersection(query_ops) if intersection: - msg = 'Duplicate query contitions: ' + msg = 'Duplicate query conditions: ' raise InvalidQueryError(msg + ', '.join(intersection)) query_ops.update(ops) @@ -179,7 +179,7 @@ class QueryCompilerVisitor(QNodeVisitor): # once to a single field intersection = current_ops.intersection(new_ops) if intersection: - msg = 'Duplicate query contitions: ' + msg = 'Duplicate query conditions: ' raise InvalidQueryError(msg + ', '.join(intersection)) # Right! We've got two non-overlapping dicts of operations!