'Iterates the dumped nginx content.'

def __iter__(self, blocks=None):

    blocks = (blocks or self.blocks)
    for b0 in blocks:
        if isinstance(b0, str):
            (yield b0)
            continue
        item = copy.deepcopy(b0)
        if spacey(item[0]):
            (yield item.pop(0))
            if (not item):
                continue
        if isinstance(item[0], list):
            (yield (''.join(item.pop(0)) + '{'))
            for parameter in item.pop(0):
                for line in self.__iter__([parameter]):
                    (yield line)
            (yield '}')
        else:
            semicolon = ';'
            if (isinstance(item[0], str) and (item[0].strip() == '#')):
                semicolon = ''
            (yield (''.join(item) + semicolon))
