def _check_file(fname, overwrite):
    if op.isfile(fname) and not overwrite:
        raise IOError('File %s exists, use --overwrite to overwrite it'
                      % fname)
Edit user settings
dataset/ETHPy150Open mne-tools/mne-python/mne/commands/mne_make_scalp_surfaces.py/_check_file--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/users/views.py/edit_settings