cwctl.py
changeset 10603 65ad6980976e
parent 10589 7c23b7de2b8d
child 10614 57dfde80df11
equal deleted inserted replaced
10602:4845012cfc8e 10603:65ad6980976e
    27 # completion). So import locally in command helpers.
    27 # completion). So import locally in command helpers.
    28 import sys
    28 import sys
    29 from warnings import warn, filterwarnings
    29 from warnings import warn, filterwarnings
    30 from os import remove, listdir, system, pathsep
    30 from os import remove, listdir, system, pathsep
    31 from os.path import exists, join, isfile, isdir, dirname, abspath
    31 from os.path import exists, join, isfile, isdir, dirname, abspath
    32 from urlparse import urlparse
       
    33 
    32 
    34 try:
    33 try:
    35     from os import kill, getpgid
    34     from os import kill, getpgid
    36 except ImportError:
    35 except ImportError:
    37     def kill(*args):
    36     def kill(*args):
    38         """win32 kill implementation"""
    37         """win32 kill implementation"""
    39     def getpgid():
    38     def getpgid():
    40         """win32 getpgid implementation"""
    39         """win32 getpgid implementation"""
       
    40 
       
    41 from six.moves.urllib.parse import urlparse
    41 
    42 
    42 from logilab.common.clcommands import CommandLine
    43 from logilab.common.clcommands import CommandLine
    43 from logilab.common.shellutils import ASK
    44 from logilab.common.shellutils import ASK
    44 from logilab.common.configuration import merge_options
    45 from logilab.common.configuration import merge_options
    45 
    46