Update hacking and fix warning

Change-Id: I4cc01d1f496cf216619e763be2719b60d164d25d
This commit is contained in:
Eyal 2020-01-07 15:36:51 +02:00
parent 2af9d8d923
commit eaacb594e2
2 changed files with 4 additions and 5 deletions

View File

@ -2,11 +2,10 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=1.1.0,<1.2.0 # Apache-2.0
hacking>=1.1.0 # Apache-2.0
coverage>=3.6
python-subunit>=0.0.18
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
nodeenv>=0.9.4 # BSD
openstackdocstheme>=1.24.0 # Apache-2.0

View File

@ -48,11 +48,11 @@ class Topolgy(generic.View):
if 'graph_type' in request.GET:
graph_type = request.GET.get('graph_type')
if 'all_tenants' in request.GET:
all_tenants = request.GET.get('all_tenants')
all_tenants = request.GET.get('all_tenants')
if 'root' in request.GET:
root = request.GET.get('root')
root = request.GET.get('root')
if 'depth' in request.GET:
limit = int(request.GET.get('depth'))
limit = int(request.GET.get('depth'))
query = None
if 'query' in request.GET: