def stringify(pkgs):
    '''
    Takes a dict of package name/version information and joins each list of
    installed versions into a string.

    CLI Example:

    .. code-block:: bash

        salt '*' pkg_resource.stringify 'vim: 7.127'
    '''
    try:
        for key in pkgs:
            pkgs[key] = ','.join(pkgs[key])
    except __HOLE__ as exc:
        log.exception(exc)
dataset/ETHPy150Open saltstack/salt/salt/modules/pkg_resource.py/stringify