server/serverctl.py
branchstable
changeset 3539 f3b14d052798
parent 3316 c4c07aab1c39
child 3589 a5432f99f2d9
child 3786 11d98118f0eb
--- a/server/serverctl.py	Wed Sep 30 21:06:09 2009 +0200
+++ b/server/serverctl.py	Thu Oct 01 08:49:29 2009 +0200
@@ -126,8 +126,11 @@
         config = self.config
         print underline_title('Configuring the repository')
         config.input_config('email', inputlevel)
-        if config.pyro_enabled():
-            config.input_config('pyro-server', inputlevel)
+        # ask for pyro configuration if pyro is activated and we're not using a
+        # all-in-one config, in which case this is done by the web side command
+        # handler
+        if config.pyro_enabled() and config.name != 'all-in-one':
+            config.input_config('pyro', inputlevel)
         print '\n'+underline_title('Configuring the sources')
         sourcesfile = config.sources_file()
         sconfig = Configuration(options=SOURCE_TYPES['native'].options)