debian/control
author Christophe de Vienne <christophe@unlish.com>
Sat, 08 Nov 2014 23:07:20 +0100
changeset 11524 54c83bfda277
parent 11517 3d60138100d6
child 11558 1e2ab5972b18
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

Source: pyramid-cubicweb
Section: python
Priority: optional
Build-Depends:
 python,
 python-setuptools,
 python-pyramid,
 python-waitress,
 debhelper (>= 9),
Standards-Version: 3.9.6
Maintainer: Julien Cristau <julien.cristau@logilab.fr>
Homepage: https://www.cubicweb.org/project/pyramid_cubicweb
Vcs-Browser: http://hg.logilab.org/master/pyramid_cubicweb
Vcs-Hg: http://hg.logilab.org/master/pyramid_cubicweb

Package: pyramid-cubicweb
Architecture: all
Depends:
 ${misc:Depends},
 ${python:Depends},
 python-pyramid (>= 1.5.0),
 python-waitress (>= 0.8.9),
 cubicweb-common (>= 3.19.3),
# XXX wsgicors?
Description: Integrate CubicWeb with a Pyramid application
 Provides pyramid extensions to load a CubicWeb instance and serve it through
 the pyramid stack.
 .
 It prefigures what CubicWeb 4.0 will be.