def __iter__(self):
        """
        Iterate through the records by pulling them off the server a page
        at a time.

        Currently set to do DEFAULT_PAGE_SIZE records at a time as per spec.
        """
        x = 0
        while True:
            print "__iter__: ", self.detail, x, DEFAULT_PAGE_SIZE
            theList = self.manager.createListP(self.detail, x, DEFAULT_PAGE_SIZE)
            if theList:
                i = 0
                while True:
					try:
						yield theList[i]
						i += 1
					except __HOLE__:
						x += i
						break
            else:
                break
        raise StopIteration
dataset/ETHPy150Open rackerlabs/python-cloudservers/com/rackspace/cloud/servers/api/client/entitylist.py/EntityList.__iter__