#NEWLINE# def _get( self , blockid ) : #NEWLINE# #INDENT# 'Return a block for a blockid. Internal use only.' #NEWLINE# cursor = self . _cursor ( ) #NEWLINE# cursor . execute ( ( self . sql_select + ' where id = ?' ) , ( blockid , ) ) #NEWLINE# row = cursor . fetchone ( ) #NEWLINE# if row : #NEWLINE# #INDENT# return Block ( self , row ) #NEWLINE# #UNINDENT# return None