On Dec 13, 2005, at 2:56 PM, Jonathan LaCour wrote:
try:
try:
value = func(*args, **kwargs)
except:
conn.rollback()
raise
else:
conn.commit()
return value
finally:
sqlhub.processConnection = old_conn
I think you want to unindent that last 'finally'... the block inside the outer try will always fail in that form.
--Tracy

