#NEWLINE# def take_action( self , parsed_args ) : #NEWLINE# #INDENT# identity_client = self . app . client_manager . identity #NEWLINE# current_password = parsed_args . original_password #NEWLINE# if ( current_password is None ) : #NEWLINE# #INDENT# current_password = utils . get_password ( self . app . stdin , prompt = 'Current Password:' , confirm = False ) #NEWLINE# #UNINDENT# password = parsed_args . password #NEWLINE# if ( password is None ) : #NEWLINE# #INDENT# password = utils . get_password ( self . app . stdin , prompt = 'New Password:' ) #NEWLINE# #UNINDENT# identity_client . users . update_password ( current_password , password )