server/rqlannotation.py
changeset 4467 0e73d299730a
parent 4287 15499a46c009
child 4719 aaed3f813ef8
--- a/server/rqlannotation.py	Fri Feb 05 11:54:23 2010 +0100
+++ b/server/rqlannotation.py	Fri Feb 05 11:56:57 2010 +0100
@@ -23,7 +23,7 @@
     has_text_query = False
     need_distinct = rqlst.distinct
     for rel in rqlst.iget_nodes(Relation):
-        if getrschema(rel.r_type).symetric and not rel.neged(strict=True):
+        if getrschema(rel.r_type).symmetric and not rel.neged(strict=True):
             for vref in rel.iget_nodes(VariableRef):
                 stinfo = vref.variable.stinfo
                 if not stinfo['constnode'] and stinfo['selected']:
@@ -105,7 +105,7 @@
                     # can use N.ecrit_par as principal
                     if (stinfo['selected'] or len(stinfo['relations']) > 1):
                         break
-                elif rschema.symetric and stinfo['selected']:
+                elif rschema.symmetric and stinfo['selected']:
                     break
             joins.add(rel)
         else: