server/utils.py
changeset 6427 c8a5ac2d1eaa
parent 6381 c9eed5037223
child 6765 b922e3a817e9
--- a/server/utils.py	Sat Oct 09 00:05:50 2010 +0200
+++ b/server/utils.py	Sat Oct 09 00:05:52 2010 +0200
@@ -24,8 +24,6 @@
 from getpass import getpass
 from random import choice
 
-from logilab.common.configuration import Configuration
-
 from cubicweb.server import SOURCE_TYPES
 
 try:
@@ -111,12 +109,6 @@
     return user, passwd
 
 
-def ask_source_config(sourcetype, inputlevel=0):
-    sconfig = Configuration(options=SOURCE_TYPES[sourcetype].options)
-    sconfig.adapter = sourcetype
-    sconfig.input_config(inputlevel=inputlevel)
-    return sconfig
-
 _MARKER=object()
 def func_name(func):
     name = getattr(func, '__name__', _MARKER)