diff -r 672acc730ce5 -r d628defebc17 etwist/twctl.py --- a/etwist/twctl.py Thu May 14 10:24:56 2009 +0200 +++ b/etwist/twctl.py Thu May 14 11:38:40 2009 +0200 @@ -1,4 +1,8 @@ """cubicweb-clt handlers for twisted + +:organization: Logilab +:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr """ import sys @@ -52,8 +56,8 @@ class TWStopHandler(CommandHandler): cmdname = 'stop' cfgname = 'twisted' - - + + try: from cubicweb.server import serverctl @@ -67,7 +71,7 @@ """bootstrap this configuration""" serverctl.RepositoryCreateHandler.bootstrap(self, cubes, inputlevel) TWCreateHandler.bootstrap(self, cubes, inputlevel) - + class AllInOneStartHandler(TWStartHandler): cmdname = 'start' cfgname = 'all-in-one' @@ -80,4 +84,3 @@ except ImportError: pass -