diff -r 12d3da7b3bcf -r 375819ec7d43 server/repository.py --- a/server/repository.py Fri Jun 11 08:39:21 2010 +0200 +++ b/server/repository.py Fri Jun 11 14:59:08 2010 +0200 @@ -92,7 +92,7 @@ {'x': eidfrom, 'y': eidto}) if card[1] in '1?': with security_enabled(session, read=False): - session.execute('DELETE X %sY WHERE Y eid %%(y)s, ' + session.execute('DELETE X %s Y WHERE Y eid %%(y)s, ' 'NOT X eid %%(x)s' % rtype, {'x': eidfrom, 'y': eidto})