diff -r 73760bbb66bd -r 78438ad513ca hooks/syncschema.py --- a/hooks/syncschema.py Wed Apr 07 09:24:00 2010 +0200 +++ b/hooks/syncschema.py Wed Apr 07 14:26:35 2010 +0200 @@ -1004,7 +1004,7 @@ DropRelationTable(session, rschema.type) # if this is the last instance, drop associated relation type if lastrel and not self.eidto in pendings: - execute('DELETE CWRType X WHERE X eid %(x)s', {'x': self.eidto}, 'x') + execute('DELETE CWRType X WHERE X eid %(x)s', {'x': self.eidto}) MemSchemaRDefDel(session, (subjschema, rschema, objschema))