#NEWLINE# @ internationalizeDocstring #NEWLINE# def setpriority( self , irc , msg , args , user , id , priority ) : #NEWLINE# #INDENT# '<id> <priority>\n\n        Sets the priority of the todo with the given id to the specified value.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# self . db . setpriority ( user . id , id , msg ) #NEWLINE# irc . replySuccess ( ) #NEWLINE# #UNINDENT# except dbi . NoRecordError : #NEWLINE# #INDENT# irc . errorInvalid ( _ ( 'task id' ) , id )