I am new at Python, trying to build an old python file into Python 3. I got several build errors which I solved. But at this point I am getting above error. I have no idea how to fix this. The code section looks like below.
return itertools.ifilter(lambda i: i.state == "IS", self.storage)