# HG changeset patch # User Sylvain Thénault # Date 1259754951 -3600 # Node ID dfb4b37971134bc07a98ee17196a4480f34f6598 # Parent f742c525b7b47ecb0ee50ca11c89616a99543824 cleanup diff -r f742c525b7b4 -r dfb4b3797113 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: