Revision cad4793e

b/snf-cyclades-app/synnefo/api/subnets.py
159 159
    subnet = subnets.get_subnet(sub_id)
160 160

  
161 161
    if subnet.network.userid != user_id:
162
        raise api.failts.Unauthorized("You're not allowed to view this subnet")
162
        raise api.faults.Unauthorized("You're not allowed to view this subnet")
163 163

  
164 164
    subnet_dict = subnet_to_dict(subnet)
165 165
    data = json.dumps({'subnet': subnet_dict})

Also available in: Unified diff