#NEWLINE# def _mostRecent( self , irc , channel , limit ) : #NEWLINE# #INDENT# results = self . db . mostRecent ( channel , limit ) #NEWLINE# L = [ format ( '%q' , t [ 0 ] ) for t in results ] #NEWLINE# if L : #NEWLINE# #INDENT# if ( len ( L ) < 2 ) : #NEWLINE# #INDENT# latest = _ ( 'latest factoid' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# latest = _ ( 'latest factoids' ) #NEWLINE# #UNINDENT# irc . reply ( format ( _ ( '%i %s: %L' ) , len ( L ) , self , L ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# irc . error ( _ ( 'There are no factoids in my database.' ) )