goa/goactl.py
branchstable
changeset 6145 528be1e059aa
parent 5424 8ecbcbff9777
--- a/goa/goactl.py	Wed Aug 25 11:23:22 2010 +0200
+++ b/goa/goactl.py	Wed Aug 25 13:45:41 2010 +0200
@@ -15,15 +15,14 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""cubicweb on appengine plugins for cubicweb-ctl
+"""cubicweb on appengine plugins for cubicweb-ctl"""
 
-"""
 __docformat__ = "restructuredtext en"
 
 from os.path import exists, join, split, basename, normpath, abspath
-from logilab.common.clcommands import register_commands
 
 from cubicweb import CW_SOFTWARE_ROOT, BadCommandUsage
+from cubicweb.cwctl import CWCTL
 from cubicweb.toolsutils import (Command, copy_skeleton, create_symlink,
                                  create_dir)
 from cubicweb.cwconfig import CubicWebConfiguration
@@ -250,5 +249,4 @@
             config.save()
 
 
-register_commands((NewGoogleAppCommand,
-                   ))
+CWCTL.register(NewGoogleAppCommand)