

def getEditorAndPath():
    editor_path = (os.environ.get('FPP_EDITOR') or os.environ.get('VISUAL') or os.environ.get('EDITOR'))
    if editor_path:
        editor = os.path.basename(editor_path)
        logger.addEvent(('using_editor_' + editor))
        return (editor, editor)
    return ('vim', 'vim')

dataset/ETHPy150Open facebook/PathPicker/src/output.py getEditorAndPath/VarMisuse@71/100 `editor_path`->`editor`