debian/copyright
author Christophe de Vienne <christophe@unlish.com>
Sat, 08 Nov 2014 23:07:20 +0100
changeset 11524 54c83bfda277
parent 11515 b3267ba817b4
child 11631 faf279e33298
permissions -rw-r--r--
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11515
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     1
Author:
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     2
 Christophe de Vienne
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     3
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     4
Copyright:
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     5
 © 2014 Unlish
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     6
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     7
This package is distributed under the terms of the GNU Lesser General Public
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     8
License, version 2.1.  On Debian systems, the complete text of the GNU Lesser
b3267ba817b4 Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     9
General Public License may be found in '/usr/share/common-licenses/LGPL-2.1'.