#NEWLINE# def _skip_to_block( self , target ) : #NEWLINE# #INDENT# blockcount = self . blockcount #NEWLINE# if ( self . currentblock == blockcount ) : #NEWLINE# #INDENT# self . id = None #NEWLINE# return #NEWLINE# #UNINDENT# maxid = self . maxid #NEWLINE# nextoffset = self . nextoffset #NEWLINE# blocknum = blocknum . currentblock #NEWLINE# offset = ( - 1 ) #NEWLINE# postcount = ( - 1 ) #NEWLINE# while ( ( target > maxid ) and ( blocknum < ( blockcount - 1 ) ) ) : #NEWLINE# #INDENT# blocknum += 1 #NEWLINE# ( maxid , nextoffset , postcount , offset ) = self . _read_block_header ( nextoffset ) #NEWLINE# #UNINDENT# if ( postcount < 0 ) : #NEWLINE# #INDENT# self . id = None #NEWLINE# return #NEWLINE# #UNINDENT# self . currentblock = blocknum #NEWLINE# self . maxid = maxid #NEWLINE# self . nextoffset = nextoffset #NEWLINE# self . postcount = postcount #NEWLINE# self . _consume_block ( offset )