def module_report(module_name):
    try:
        return pymodule_info(module_name, __import__(module_name))
    except Exception as e:
        note = str(e)
        if ('No module named' in note):
            return dict(version='*absent*')
        return dict(version='*absent*', note=note)
def module_report(module_name):
    try:
        return pymodule_info(module_name, __import__(module_name))
    except Exception as e:
        note = str(e)
        if ('No module named' in note):
            return dict(version='*absent*')
        return dict(version='*absent*', note=note)