live-server doesn't work, don't make think it does
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 03 Feb 2010 18:45:12 +0100
changeset 4439 5ab3f63b06ad
parent 4438 91e224154f11
child 4440 2eb6112ba4f0
live-server doesn't work, don't make think it does
devtools/devctl.py
--- a/devtools/devctl.py	Wed Feb 03 18:44:50 2010 +0100
+++ b/devtools/devctl.py	Wed Feb 03 18:45:12 2010 +0100
@@ -441,17 +441,18 @@
     return toedit
 
 
-class LiveServerCommand(Command):
-    """Run a server from within a cube directory.
-    """
-    name = 'live-server'
-    arguments = ''
-    options = ()
+# XXX totally broken, fix it
+# class LiveServerCommand(Command):
+#     """Run a server from within a cube directory.
+#     """
+#     name = 'live-server'
+#     arguments = ''
+#     options = ()
 
-    def run(self, args):
-        """run the command with its specific arguments"""
-        from cubicweb.devtools.livetest import runserver
-        runserver()
+#     def run(self, args):
+#         """run the command with its specific arguments"""
+#         from cubicweb.devtools.livetest import runserver
+#         runserver()
 
 
 class NewCubeCommand(Command):
@@ -687,7 +688,7 @@
 
 register_commands((UpdateCubicWebCatalogCommand,
                    UpdateTemplateCatalogCommand,
-                   LiveServerCommand,
+                   #LiveServerCommand,
                    NewCubeCommand,
                    ExamineLogCommand,
                    GenerateSchema,