mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
fix code conventions for pylint
This commit is contained in:
parent
d283e0e1b3
commit
22cb8f702a
16 changed files with 245 additions and 110 deletions
|
@ -1,6 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.shortcuts import get_object_or_404, render
|
||||
from django.urls import reverse
|
||||
|
@ -110,7 +107,12 @@ def nwfilters(request, compute_id):
|
|||
|
||||
|
||||
def nwfilter(request, compute_id, nwfltr):
|
||||
|
||||
"""
|
||||
:param request:
|
||||
:param compute_id:
|
||||
:param nwfltr:
|
||||
:return:
|
||||
"""
|
||||
error_messages = []
|
||||
nwfilters_all = []
|
||||
compute = get_object_or_404(Compute, pk=compute_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue