(self, category, name=None)
Return all of the exported entries in a particular category.

        :param category: The category to search for entries.
        :param name: If specified, only entries with that name are returned.
Return all of the exported entries in a particular category.
Return all of the exported entries in a particular category .
def get_exported_entries(self, category, name=None):
        """
        Return all of the exported entries in a particular category.

        :param category: The category to search for entries.
        :param name: If specified, only entries with that name are returned.
        """
        for dist in self.get_distributions():
            r = dist.exports
            if category in r:
                d = r[category]
                if name is not None:
                    if name in d:
                        yield d[name]
                else:
                    for v in d.values():
                        yield v
def get_exported_entries ( self , category , name = None ) : for dist in self . get_distributions ( ) : r = dist . exports if category in r : d = r [ category ] if name is not None : if name in d : yield d [ name ] else : for v in d . values ( ) : yield v