cubicweb/cwctl.py
changeset 12567 26744ad37953
parent 12549 e2db422752b4
child 12585 933c2b3839ab
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """the cubicweb-ctl tool, based on logilab.common.clcommands to
    18 """the cubicweb-ctl tool, based on logilab.common.clcommands to
    19 provide a pluggable commands system.
    19 provide a pluggable commands system.
    20 """
    20 """
    21 from __future__ import print_function
       
    22 
       
    23 # *ctl module should limit the number of import to be imported as quickly as
    21 # *ctl module should limit the number of import to be imported as quickly as
    24 # possible (for cubicweb-ctl reactivity, necessary for instance for usable bash
    22 # possible (for cubicweb-ctl reactivity, necessary for instance for usable bash
    25 # completion). So import locally in command helpers.
    23 # completion). So import locally in command helpers.
    26 import sys
    24 import sys
    27 from warnings import filterwarnings
    25 from warnings import filterwarnings