server/rqlannotation.py
changeset 7651 7c0af7ef3325
parent 7523 f6856231cc51
child 7707 936530f8d32c
--- a/server/rqlannotation.py	Tue Jul 12 11:27:42 2011 +0200
+++ b/server/rqlannotation.py	Tue Jul 12 11:27:43 2011 +0200
@@ -202,8 +202,8 @@
     # since introduced duplicates will be removed
     if scope.stmt.distinct and diffscope_rels:
         return iter(_sort(diffscope_rels)).next()
-    # XXX  could use a relation for a different scope if it can't generate
-    # duplicates, so we would have to check cardinality
+    # XXX could use a relation from a different scope if it can't generate
+    # duplicates, so we should have to check cardinality
     raise CantSelectPrincipal()
 
 def _select_main_var(relations):