def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def _pool_is_unlicensed_eula_unaccepted(self, current):
        if current.state != 'LICENSED' and not self.want.accept_eula:
            return True
        return False