

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

dataset/ETHPy150Open kisom/pypcapfile/pcapfile/linklayer.py __load_linktype__/VarMisuse@43/90 `filep`->`pathname`