[notification] avoid leaking cnxsets (closes #3243810)
When sending notifications, we get each recipient as either an email
address or a CWUser. In the latter case, we create a temporary session
for that user and use it to send the mail. However, if we later decided
to not send the mail after all, we'd leak the session and its cnxset.
Add a try block inside the loop to make sure the temporary sessions are
closed properly.
Source: %(distname)s
Section: web
Priority: optional
Maintainer: %(author)s <%(author-email)s>
Build-Depends: debhelper (>= 7), python (>= 2.6), python-support
Standards-Version: 3.9.3
XS-Python-Version: >= 2.6
Package: %(distname)s
Architecture: all
Depends:
cubicweb-common (>= %(version)s),
${python:Depends},
${misc:Depends},
Description: %(shortdesc)s
CubicWeb is a semantic web application framework.
.
%(longdesc)s
.
This package will install all the components you need to run the
%(distname)s application (cube :)..