projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding missing help; fixing some checks of client version
[osm/osmclient.git]
/
osmclient
/
sol005
/
vnfd.py
diff --git
a/osmclient/sol005/vnfd.py
b/osmclient/sol005/vnfd.py
index
28ded17
..
6b09a1f
100644
(file)
--- a/
osmclient/sol005/vnfd.py
+++ b/
osmclient/sol005/vnfd.py
@@
-72,7
+72,7
@@
class Vnfd(object):
vnfd = self.get(name)
headers = self._client._headers
headers['Accept'] = 'application/binary'
vnfd = self.get(name)
headers = self._client._headers
headers['Accept'] = 'application/binary'
- resp2 = self._http.get2_cmd('{}/{}/{}'.format(self._apiBase, vnfd['_id'], thing))
+
http_code,
resp2 = self._http.get2_cmd('{}/{}/{}'.format(self._apiBase, vnfd['_id'], thing))
#print yaml.safe_dump(resp2)
if resp2:
#store in a file
#print yaml.safe_dump(resp2)
if resp2:
#store in a file