#NEWLINE# @ property #NEWLINE# def next_block( self ) : #NEWLINE# #INDENT# cursor = self . __database . _cursor ( ) #NEWLINE# cursor . execute ( ( self . __database . sql_select + ' where previous_id = ?' ) , ( self . _blockid , ) ) #NEWLINE# row = cursor . fetchone ( ) #NEWLINE# if row : #NEWLINE# #INDENT# return Block ( self . __database , cursor ) #NEWLINE# #UNINDENT# return None