def write_line_list(argname, cmd, basename, filename):
    """
    Write out the retrieved value as list of lines.
    """

    values = getattr(cmd.distribution, argname, None)
    if isinstance(values, list):
        values = '\n'.join(values)
    cmd.write_or_delete_file(argname, filename, values, force=True)
def write_line_list ( argname , cmd , basename , filename ) : values = getattr ( cmd . distribution , argname , None ) if isinstance ( values , list ) : values = '\n' . join ( values ) cmd . write_or_delete_file ( argname , filename , values , force = True )
Write out the retrieved value as list of lines.