diff -r 1d09765ee720 -r 29262ba01464 cwctl.py --- a/cwctl.py Thu Sep 03 14:08:17 2009 +0200 +++ b/cwctl.py Mon Sep 07 12:22:14 2009 +0200 @@ -5,7 +5,13 @@ %s""" import sys -from os import remove, listdir, system, kill, getpgid, pathsep +from os import remove, listdir, system, pathsep +try: + from os import kill, getpgid +except ImportError: + def kill(*args): pass + def getpgid(): pass + from os.path import exists, join, isfile, isdir from logilab.common.clcommands import register_commands, pop_arg