From eaacb594e247fced356564510b2e921a749e3993 Mon Sep 17 00:00:00 2001 From: Eyal Date: Tue, 7 Jan 2020 15:36:51 +0200 Subject: [PATCH] Update hacking and fix warning Change-Id: I4cc01d1f496cf216619e763be2719b60d164d25d --- test-requirements.txt | 3 +-- vitrage_dashboard/api/vitrage_rest_api.py | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index f47c1ad..0d94c0f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 diff --git a/vitrage_dashboard/api/vitrage_rest_api.py b/vitrage_dashboard/api/vitrage_rest_api.py index 3db5d49..88a5a2c 100644 --- a/vitrage_dashboard/api/vitrage_rest_api.py +++ b/vitrage_dashboard/api/vitrage_rest_api.py @@ -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: