

def joinEditCommands(partialCommands):
    (editor, editor_path) = getEditorAndPath()
    if ((editor in ['vim', 'mvim']) and (not os.environ.get('FPP_DISABLE_SPLIT'))):
        return ((editor_path + ' -O ') + ' '.join(partialCommands))
    return ((editor_path + ' ') + ' '.join(partialCommands))

dataset/ETHPy150Open facebook/PathPicker/src/output.py joinEditCommands/original