API views style fixes (pep8)

This commit is contained in:
Sebastian Lohff 2017-04-13 00:58:52 +02:00
parent f8ed94d725
commit 572ce96af3
1 changed files with 2 additions and 3 deletions

View File

@ -63,7 +63,6 @@ def freeSubnet(request):
"network": None,
}
try:
parentRangeName = request.GET.get('parentRange', None)
if not parentRangeName:
@ -194,6 +193,7 @@ def checkDomain(request):
return JsonResponse(ret)
@login_required
def checkRzone(request):
ret = {
@ -215,4 +215,3 @@ def checkRzone(request):
ret["errorMsg"] = "ReverseZone does not exist"
return JsonResponse(ret)