#NEWLINE# def errorNoCapability( self , capability , s = '' , **kwargs ) : #NEWLINE# #INDENT# if ( 'Raise' not in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'Raise' ] = True #NEWLINE# #UNINDENT# log . warning ( 'Denying %s for lacking %q capability.' , self . msg . prefix , capability ) #NEWLINE# if ( self . _getConfig ( conf . supybot . reply . error . noCapability ) or ( capability in conf . supybot . capabilities . private ( ) ) ) : #NEWLINE# #INDENT# v = self . _getConfig ( conf . supybot . replies . genericNoCapability ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# v = self . _getConfig ( conf . supybot . replies . noCapability ) #NEWLINE# try : #NEWLINE# #INDENT# v %= capability #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# s = self . __makeReply ( v , s ) #NEWLINE# if s : #NEWLINE# #INDENT# return self . _error ( s , ** kwargs )