def prettify_importer_name(name):
    """Convert names from the format "import_foo_bar" to "Foo Bar"
    """
    # Basic sanity check to avoid weird things from happening
    if name.startswith("import_"):
        return " ".join([part[0].upper() + part[1:] for part in name.split("_")][1:])
    else:
        return name