server/serverctl.py
branchstable
changeset 5410 3cccd5e9dd7d
parent 5043 fe52dd3936cf
child 5421 8167de96c523
--- a/server/serverctl.py	Mon Apr 26 15:28:43 2010 +0200
+++ b/server/serverctl.py	Mon Apr 26 17:55:36 2010 +0200
@@ -175,11 +175,11 @@
                     break
                 print '-> unknown source type, use one of the available types.'
             while True:
-                sourceuri = raw_input('source uri: ').strip()
+                sourceuri = raw_input('source identifier (a unique name used to tell sources apart): ').strip()
                 if sourceuri != 'admin' and sourceuri not in sourcescfg:
                     break
                 print '-> uri already used, choose another one.'
-            sourcescfg[sourceuri] = ask_source_config(sourcetype)
+            sourcescfg[sourceuri] = ask_source_config(sourcetype, inputlevel)
             sourcemodule = SOURCE_TYPES[sourcetype].module
             if not sourcemodule.startswith('cubicweb.'):
                 # module names look like cubes.mycube.themodule