cwctl.py
changeset 2615 1ea41b7c0836
parent 2532 f7ca29d75183
child 2633 bc9386c3b2c9
--- a/cwctl.py	Fri Jul 31 23:22:19 2009 +0200
+++ b/cwctl.py	Fri Jul 31 23:26:52 2009 +0200
@@ -9,10 +9,11 @@
 from os.path import exists, join, isfile, isdir
 
 from logilab.common.clcommands import register_commands, pop_arg
+from logilab.common.shellutils import ASK
 
 from cubicweb import ConfigurationError, ExecutionError, BadCommandUsage, underline_title
 from cubicweb.cwconfig import CubicWebConfiguration as cwcfg, CONFIGURATIONS
-from cubicweb.toolsutils import Command, main_run,  rm, create_dir, confirm
+from cubicweb.toolsutils import Command, main_run,  rm, create_dir
 
 def wait_process_end(pid, maxtry=10, waittime=1):
     """wait for a process to actually die"""