fix sql query

This commit is contained in:
Yann Leboulanger 2008-04-16 19:22:16 +00:00
parent 158231493a
commit 4bfd971415
1 changed files with 2 additions and 2 deletions

View File

@ -750,6 +750,6 @@ class Logger:
data = string.getvalue() data = string.getvalue()
sql = ''' sql = '''
INSERT INTO caps_cache ( node, ver, ext, data ) INSERT INTO caps_cache ( node, ver, ext, data )
VALUES (?, ?, ?, ?); VALUES (%s, %s, %s, %s);
''', (node, ver, ext, buffer(data)) # (1) -- note above ''' % (node, ver, ext, buffer(data)) # (1) -- note above
self.simple_commit(sql) self.simple_commit(sql)