#NEWLINE# def handle_edit_user_story_request( self , user_story ) : #NEWLINE# #INDENT# data = self . view . get_user_story_form_data ( ) #NEWLINE# if ( not data . get ( 'subject' , None ) ) : #NEWLINE# #INDENT# self . view . notifier . error_msg ( 'Subject is required' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# us_patch_f = self . executor . update_user_story ( user_story , data ) #NEWLINE# us_patch_f . add_done_callback ( self . handle_edit_user_story_response )