#NEWLINE# def _check_driver_changed_and_console_enabled( self , rpc_node , node_ident ) : #NEWLINE# #INDENT# 'Checks if the driver and the console is enabled in a node.\n\n        If it does, is necessary to prevent updating it because the new driver\n        will not be able to stop a console started by the previous one.\n\n        :param rpc_node: RPC Node object to be verified.\n        :param node_ident: the UUID or logical name of a node.\n        :raises: wsme.exc.ClientSideError\n        ' #NEWLINE# delta = rpc_node . obj_what_changed ( ) #NEWLINE# if ( ( 'driver' in delta ) and rpc_node . console_enabled ) : #NEWLINE# #INDENT# raise wsme . exc . ClientSideError ( ( _ ( 'Node %s can not update the driver while the console is enabled. Please stop the console first.' ) % node_ident ) , status_code = http_client . CONFLICT )