#NEWLINE# def revoke_maintenance( self , request ) : #NEWLINE# #INDENT# if self . is_waiting_to_run : #NEWLINE# #INDENT# control . revoke ( self . celery_task_id ) #NEWLINE# self . status = self . REVOKED #NEWLINE# self . revoked_by = request . user . username #NEWLINE# self . save ( ) #NEWLINE# #UNINDENT# return True