cwctl.py
branchstable
changeset 4718 3dc3ad02d091
parent 4684 876a79ece6f7
child 4720 ddf4f19eb07a
equal deleted inserted replaced
4717:535705688f4f 4718:3dc3ad02d091
     2 
     2 
     3 The CubicWeb swiss-knife.
     3 The CubicWeb swiss-knife.
     4 
     4 
     5 %s"""
     5 %s"""
     6 
     6 
       
     7 # *ctl module should limit the number of import to be imported as quickly as
       
     8 # possible (for cubicweb-ctl reactivity, necessary for instance for usable bash
       
     9 # completion). So import locally in command helpers.
     7 import sys
    10 import sys
     8 from os import remove, listdir, system, pathsep
    11 from os import remove, listdir, system, pathsep
     9 try:
    12 try:
    10     from os import kill, getpgid
    13     from os import kill, getpgid
    11 except ImportError:
    14 except ImportError: