#NEWLINE# def get( self , slug ) : #NEWLINE# #INDENT# entry = self . db . get ( 'SELECT * FROM entries WHERE slug = %s' , slug ) #NEWLINE# if ( not entry ) : #NEWLINE# #INDENT# raise tornado . web . HTTPError ( 404 ) #NEWLINE# #UNINDENT# self . render ( 'entry.html' , entry = entry )