server/serverctl.py
changeset 5442 3ed8afbbdf70
parent 5424 8ecbcbff9777
child 5555 a64f48dd5fe4
--- a/server/serverctl.py	Thu Apr 29 11:09:03 2010 +0200
+++ b/server/serverctl.py	Thu Apr 29 14:21:57 2010 +0200
@@ -249,9 +249,9 @@
     cmdname = 'start'
     cfgname = 'repository'
 
-    def start_server(self, ctlconf, debug):
+    def start_server(self, ctlconf):
         command = ['cubicweb-ctl start-repository ']
-        if debug:
+        if ctlconf.debugmode:
             command.append('--debug')
         command.append(self.config.appid)
         os.system(' '.join(command))