projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new commands: ns-op-list, ns-op-show, ns-action
[osm/osmclient.git]
/
osmclient
/
sol005
/
nsd.py
diff --git
a/osmclient/sol005/nsd.py
b/osmclient/sol005/nsd.py
index
dac0adc
..
95fc92a
100644
(file)
--- a/
osmclient/sol005/nsd.py
+++ b/
osmclient/sol005/nsd.py
@@
-73,7
+73,7
@@
class Nsd(object):
nsd = self.get(name)
headers = self._client._headers
headers['Accept'] = 'application/binary'
nsd = self.get(name)
headers = self._client._headers
headers['Accept'] = 'application/binary'
- resp2 = self._http.get2_cmd('{}/{}/{}'.format(self._apiBase, nsd['_id'], thing))
+
http_code,
resp2 = self._http.get2_cmd('{}/{}/{}'.format(self._apiBase, nsd['_id'], thing))
#print yaml.safe_dump(resp2)
if resp2:
#store in a file
#print yaml.safe_dump(resp2)
if resp2:
#store in a file