Commit 0c3b3480 authored by Dionysis Grigoropoulos's avatar Dionysis Grigoropoulos
Browse files

cyclades: Fix a typo in api/

parent d4a8e52d
......@@ -159,7 +159,7 @@ def get_subnet(request, sub_id):
subnet = subnets.get_subnet(sub_id)
if != user_id:
raise api.failts.Unauthorized("You're not allowed to view this subnet")
raise api.faults.Unauthorized("You're not allowed to view this subnet")
subnet_dict = subnet_to_dict(subnet)
data = json.dumps({'subnet': subnet_dict})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment