cleanup stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 02 Dec 2009 12:55:51 +0100
branchstable
changeset 3967 dfb4b3797113
parent 3966 f742c525b7b4
child 3968 e8dbad65a7a2
cleanup
schema.py
--- a/schema.py	Wed Dec 02 12:55:41 2009 +0100
+++ b/schema.py	Wed Dec 02 12:55:51 2009 +0100
@@ -633,7 +633,7 @@
             restriction = 'S eid %(s)s, ' + self.restriction
             args, ck = {'s': eidfrom}, 's'
         else:
-            restriction =rql = 'S eid %(s)s, O eid %(o)s, ' + self.restriction
+            restriction = 'S eid %(s)s, O eid %(o)s, ' + self.restriction
             args, ck = {'s': eidfrom, 'o': eidto}, ('s', 'o')
         rql = 'Any %s WHERE %s' % (self.mainvars,  restriction)
         if self.distinct_query: