# HG changeset patch # User Alexandre Fayolle # Date 1291904590 -3600 # Node ID 7d37ba09f4e32d877a033a148dafa27ebb579f43 # Parent ec9a5efdc4516399b0f62a4ee4b457b997edf83f brown paperbag fix diff -r ec9a5efdc451 -r 7d37ba09f4e3 hooks/syncschema.py --- a/hooks/syncschema.py Thu Dec 09 14:55:51 2010 +0100 +++ b/hooks/syncschema.py Thu Dec 09 15:23:10 2010 +0100 @@ -288,9 +288,9 @@ sqlexec(sql) self.info('renamed table %s to %s', oldname, newname) sqlexec('UPDATE entities SET type=%(newname)s WHERE type=%(oldname)s', - {'newname': newname, 'oldname': oldname)) + {'newname': newname, 'oldname': oldname}) sqlexec('UPDATE deleted_entities SET type=%(newname)s WHERE type=%(oldname)s', - {'newname': newname, 'oldname': oldname)) + {'newname': newname, 'oldname': oldname}) # XXX transaction records def precommit_event(self):