skeleton/hooks.py.tmpl
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 01 Jul 2014 16:55:49 +0200
changeset 10351 91e63306e277
parent 8207 c04676b16c59
permissions -rw-r--r--
[connection] replace .running_dbapi_query with .hooks_in_progress The thing was badly named. It tries to help distinguish between queries issued directly by the programmer (e.g in the views: cnx.execute(...)) from queries issued from the hooks, operations ... or even the repository or the native source objects. It worked heuristically being associated with the security being disabled. We provide a better name and an implementation distinct from the security management methods. Related to #3933480.

# -*- coding: utf-8 -*-
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s specific hooks and operations"""