bin/cubicweb-ctl
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 27 Jan 2017 17:42:16 +0100
changeset 11931 ad7796dabeaa
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[repository] move cnxset pool handling to a helper class The class has responsability to handle connections pool operations in a single public attribute 'cnxsets'. On Repository _get_cnxset() and _free_cnxset() are replaced by cnxsets.get() and cnxsets.release(). Drop multiple access to private attributes and methods from outside of Repository.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])