Re: modify cycles
Roger Binns <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eric S. Johansson wrote: > yup. makes sense. I wonder why someone didn't make a method > implementing a transaction bounded method? haven't tested this yet but > it seems ok. feel free to use it if it helps anyone. Note that you need to put exception handling in your method so that rollback is called on errors and the isolation level restored. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF5kuSmOOfHg372QQRAiM2AKCI3wlaVUut5JnuR99c0BVSJgYQsgCeJdXu bDNk4cCaZiGNPfOi9SXL094= =BA+T -----END PGP SIGNATURE-----