projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2229 Set fixed IP address for VDU through VNFD and the instantiation params
[osm/NBI.git]
/
osm_nbi
/
html_out.py
diff --git
a/osm_nbi/html_out.py
b/osm_nbi/html_out.py
index
2d5a929
..
f591a70
100644
(file)
--- a/
osm_nbi/html_out.py
+++ b/
osm_nbi/html_out.py
@@
-197,9
+197,10
@@
def format(data, request, response, toke_info):
body += '<a href="{}"> show </a>'.format(response.headers["Location"])
else:
_id = request.path_info[request.path_info.rfind("/") + 1 :]
body += '<a href="{}"> show </a>'.format(response.headers["Location"])
else:
_id = request.path_info[request.path_info.rfind("/") + 1 :]
- body += '<a href="/osm/{}?METHOD=DELETE"> <img src="/osm/static/delete.png" height="25" width="25"> </a>'.format(
- request.path_info
- )
+ body += (
+ '<a href="/osm/{}?METHOD=DELETE"> '
+ '<img src="/osm/static/delete.png" height="25" width="25"> </a>'
+ ).format(request.path_info)
if request.path_info.startswith(
"/nslcm/v1/ns_instances_content/"
) or request.path_info.startswith("/nslcm/v1/ns_instances/"):
if request.path_info.startswith(
"/nslcm/v1/ns_instances_content/"
) or request.path_info.startswith("/nslcm/v1/ns_instances/"):