from webutils import load_index def do_it(action, db, prefs, form): load_index(db, prefs, form, "msg", "")