Don't rollback if exception is HTTPSuccessful or HTTPRedirection
In the request finishing, the 'cleanup' callback set by _cw_cnx
automatically commit the transaction except is an exception is set
on the request.
Problem is, redirections and successul http return code can raise
exceptions.
This patch detects such exceptions and avoid rolling back the transaction.
Closes #4566482
pyramid-cubicweb (0.1.1-1) unstable; urgency=medium
* upstream release
-- Christophe de Vienne <christophe@unlish.com> Sun, 02 Nov 2014 23:33:46 +0100
pyramid-cubicweb (0.1.0-1) unstable; urgency=low
* Initial release.
-- Julien Cristau <julien.cristau@logilab.fr> Mon, 06 Oct 2014 10:18:27 +0200