human
Solve the following python programming problem given the following code:
def destroy_chassis(self, chassis_id) : 
    def chassis_not_empty() : 
        'Checks whether the chassis does not have nodes.' 
        query = model_query (models.Node) 
        query = add_node_filter_by_chassis (query, chassis_id) 
        return (query.count () != 0) 
with _session_for_write () : 
        if chassis_not_empty () : 
            raise exception.ChassisNotEmpty (chassis = chassis_id) 
query = model_query (models.Chassis) 
        query = add_identity_filter (query, chassis_id) 
        count = query.delete () 
        if (count != 1) : 
            raise exception.ChassisNotFound (chassis = query) 

    
    

    Fix the buggy line: raise exception.ChassisNotFound (chassis = query)
assistant
#Here is Python code to fix the buggy line: raise exception.

raise exception.ChassisNotFound (chassis = chassis_id)