def __init__(self, servers=('localhost:11211', ), key_prefix='anykeystore.', backend_api=None): if isinstance(servers, basestring): servers = splitlines(servers) self.servers = servers self.key_prefix = key_prefix self.backend_api = backend_api
def __init__(self, servers=('localhost:11211',), key_prefix='anykeystore.', backend_api=None): if isinstance(servers, basestring): servers = splitlines(servers) self.servers = servers self.key_prefix = key_prefix self.backend_api = backend_api
def _callFUT(self, value): from anykeystore.utils import splitlines return splitlines(value)