cubicweb/__main__.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 27 Jan 2017 17:42:16 +0100
changeset 11931 ad7796dabeaa
parent 11099 5fdbf6f2db88
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.

from cubicweb.cwctl import run
import sys

run(sys.argv[1:])