.hgtags
author Christophe de Vienne <christophe@unlish.com>
Sat, 08 Nov 2014 23:07:20 +0100
changeset 11524 54c83bfda277
parent 11521 bf813ae7bf9d
child 11526 5c59f0c8fbd1
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:
11518
962b37beab27 Added tag pyramid_cubicweb-version-0.1.0, pyramid_cubicweb-debian-version-0.1.0-1 for changeset 3d60138100d6
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     1
7ffca3b439105a0bcca1a6fdf83710be3083a4b1 pyramid_cubicweb-version-0.1.0
962b37beab27 Added tag pyramid_cubicweb-version-0.1.0, pyramid_cubicweb-debian-version-0.1.0-1 for changeset 3d60138100d6
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     2
7ffca3b439105a0bcca1a6fdf83710be3083a4b1 pyramid_cubicweb-debian-version-0.1.0-1
962b37beab27 Added tag pyramid_cubicweb-version-0.1.0, pyramid_cubicweb-debian-version-0.1.0-1 for changeset 3d60138100d6
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     3
3d60138100d660e430e069c5d104ec927820d298 pyramid_cubicweb-version-0.1.0
962b37beab27 Added tag pyramid_cubicweb-version-0.1.0, pyramid_cubicweb-debian-version-0.1.0-1 for changeset 3d60138100d6
Christophe de Vienne <christophe@unlish.com>
parents:
diff changeset
     4
3d60138100d660e430e069c5d104ec927820d298 pyramid_cubicweb-debian-version-0.1.0-1
11521
bf813ae7bf9d Added tag pyramid_cubicweb-version-0.1.1, pyramid_cubicweb-debian-0.1.1-1 for changeset 9f3b9e610c3d
Christophe de Vienne <christophe@unlish.com>
parents: 11518
diff changeset
     5
9f3b9e610c3dde38a20586f217d033ed4a4e73ca pyramid_cubicweb-version-0.1.1
bf813ae7bf9d Added tag pyramid_cubicweb-version-0.1.1, pyramid_cubicweb-debian-0.1.1-1 for changeset 9f3b9e610c3d
Christophe de Vienne <christophe@unlish.com>
parents: 11518
diff changeset
     6
9f3b9e610c3dde38a20586f217d033ed4a4e73ca pyramid_cubicweb-debian-0.1.1-1