def __load_linktype__(link_type):
try:<EOL><INDENT>filep, pathname, description = imp.find_module(link_type, sys.path)<EOL>link_type_module = imp.load_module(link_type, filep, pathname,<EOL>description)<EOL><DEDENT>except ImportError:<EOL><INDENT>return None<EOL><DEDENT>finally:<EOL><INDENT>if filep:<EOL><INDENT>filep.close()<EOL><DEDENT><DEDENT>return link_type_module<EOL>
Given a string for a given module, attempt to load it.