# HG changeset patch # User Sylvain Thénault # Date 1270030899 -7200 # Node ID 0d01acee1f0ab7006adb4d9bace2bf49e39bf63c # Parent 04c71ebf38a57a0db411e24339027fbf4c993cd8 [undo] fix transactions table name in cleanup operation diff -r 04c71ebf38a5 -r 0d01acee1f0a hooks/__init__.py --- a/hooks/__init__.py Wed Mar 31 11:52:15 2010 +0200 +++ b/hooks/__init__.py Wed Mar 31 12:21:39 2010 +0200 @@ -24,7 +24,7 @@ session = repo.internal_session() try: session.system_sql( - 'DELETE FROM transaction WHERE tx_time < %(time)s', + 'DELETE FROM transactions WHERE tx_time < %(time)s', {'time': mindate}) # cleanup deleted entities session.system_sql(