def _iter_tuples(self, f):
        for nrow, row in enumerate(f):
            # skip blank lines
            row = row.rstrip()
            if not row: continue

            rec = row.split('\t', 2)
            if len(rec) == 2:
                yield rec
            else:
                log.warning("invalid row in '%s' row %d: '%s'"
                            % (self._filename, nrow+1, row))
Get all image memberships for the given member.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/epydoc/docwriter/xlink.py/DocUrlGenerator._iter_tuples--crossover with--dataset/ETHPy150Open rcbops/glance-buildpackage/glance/registry/db/api.py/image_member_get_memberships