--- 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):