--- 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)