def _iter(tl, r):
            for i, (name, version, flavor) in enumerate(tl):
                flavorId = self.flavors.get(flavor, None)
                if flavorId is None:
                    continue
                versionId = self.versionTable.get(version, None)
                if versionId is None:
                    continue
                r.append(None)
                yield (i, name, versionId, flavorId)