fix py33 except statement, added transaction.commit_on_success hint