equal
deleted
inserted
replaced
3 CubicWeb main instances controller. |
3 CubicWeb main instances controller. |
4 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
4 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
5 %s""" |
5 %s""" |
6 |
6 |
7 import sys |
7 import sys |
8 from os import remove, listdir, system, kill, getpgid, pathsep |
8 from os import remove, listdir, system, pathsep |
|
9 try: |
|
10 from os import kill, getpgid |
|
11 except ImportError: |
|
12 def kill(*args): pass |
|
13 def getpgid(): pass |
|
14 |
9 from os.path import exists, join, isfile, isdir |
15 from os.path import exists, join, isfile, isdir |
10 |
16 |
11 from logilab.common.clcommands import register_commands, pop_arg |
17 from logilab.common.clcommands import register_commands, pop_arg |
12 from logilab.common.shellutils import ASK |
18 from logilab.common.shellutils import ASK |
13 |
19 |