new commands: ns-op-list, ns-op-show, ns-action
[osm/osmclient.git] / osmclient / sol005 / nsd.py
index dac0adc..95fc92a 100644 (file)
@@ -73,7 +73,7 @@ class Nsd(object):
         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