1 # vim: set encoding=utf-8 et sw=4 sts=4 :
5 class LoadError(ImportError):
8 def load_service(name, search_paths):
10 (fp, path, desc) = imp.find_module(name, search_paths)
12 raise LoadError('module "%s" not found' % name)
15 return imp.load_module(name, fp, path, desc)