def keyval_parse(record_sep='\n', field_sep=':'):
    @decorator
    def _parse(f, *args, **kwargs):
        return result_to_dict(f(*args, **kwargs), record_sep, field_sep)
    return _parse
decorator for parsing CommandResult stdout into key/value pairs returned in a dict
dataset/ETHPy150Open Netflix/aminator/aminator/util/linux.py/keyval_parse