diff options
author | 2017-08-31 12:03:23 -0500 | |
---|---|---|
committer | 2017-08-31 17:33:20 -0500 | |
commit | bbd8fafbf83c374c70308c17f10228221068d254 (patch) | |
tree | 0ea7c559665ff06a591959eefc10bcd7cb7410f3 /newton/newton/swagger | |
parent | bbc1222bc0044a813bec83572a1acebcc459d5e0 (diff) |
Add Python 3.5 support
Python 2.7 will be supported until 2020[1]. This changes helps to
prepares the transition to the transition to Python 3.x and those
systems which not support other versions.
[1] https://hg.python.org/peps/rev/76d43e52d978
Change-Id: Ic2847e907e29d565c89b0448135393f923de20e3
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Diffstat (limited to 'newton/newton/swagger')
-rw-r--r-- | newton/newton/swagger/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newton/newton/swagger/views.py b/newton/newton/swagger/views.py index 66d42d68..00d5f3ed 100644 --- a/newton/newton/swagger/views.py +++ b/newton/newton/swagger/views.py @@ -83,7 +83,7 @@ class SwaggerJsonView(APIView): f.close() json_data["paths"].update(json_data_temp["paths"]) json_data["definitions"].update(json_data_temp["definitions"]) - json_data["basePath"] = "/api/multicloud-newton/v0/" - json_data["info"]["title"] = "MultiVIM driver of OpenStack Newton Service NBI" + json_data["basePath"] = "/api/multicloud-newton/v0/" + json_data["info"]["title"] = "MultiVIM driver of OpenStack Newton Service NBI" return Response(json_data) |