def run(self, packs_status, packs_list=None):
        """
        :param packs_status: Result from packs.download action.
        :type: packs_status: ``dict``

        :param packs_list: Names of the pack in Exchange, a git repo URL or local file system.
        :type: packs_list: ``list``
        """
        if not packs_list:
            packs_list = []

        packs = []
        for pack_name, status in six.iteritems(packs_status):
            if "success" in status.lower():
                packs.append(pack_name)

        packs_list.extend(packs)

        return packs_list

        :param packs_status: Result from packs.download action.
        :type: packs_status: ``dict``

        :param packs_list: Names of the pack in Exchange, a git repo URL or local file system.
        :type: packs_list: ``list``
        
contrib/packs/actions/pack_mgmt/virtualenv_setup_prerun.py