def simple_quote(fn, openq='"', closeq='"', drop_none=True):
    
    """Format value with fn, and wrap the result with openq and closeq.

    If drop_none is True, and the returned value is None or 'None',
    returns None."""
    
    def doit(process, longname, flag, value):
        new_val = fn(process, longname, flag, value)
        if drop_none and (new_val is None or new_val == 'None'):
            return None
        else:
            return openq + new_val + closeq
    
    return doit