def __iter__(self):
        self.generator = self.readlines('\n')
        has_next = True
        while has_next:
            try:
                chunk = six.next(self.generator)
                yield chunk
            except __HOLE__:
                has_next = False
        self.close()
dataset/ETHPy150Open spotify/luigi/luigi/contrib/webhdfs.py/ReadableWebHdfsFile.__iter__