projects
/
osm
/
osmclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc2cfb
)
Bug 704 Minor code change for exception details
59/7559/1
author
madavi
<jm00553988@techmahindra.com>
Tue, 28 May 2019 05:26:29 +0000
(10:56 +0530)
committer
madavi
<jm00553988@techmahindra.com>
Tue, 28 May 2019 05:26:29 +0000
(10:56 +0530)
Change-Id: I66bb530b17a774de1bc328182e53eb4035f09121
Signed-off-by: madavi <jm00553988@techmahindra.com>
osmclient/sol005/nsd.py
patch
|
blob
|
history
diff --git
a/osmclient/sol005/nsd.py
b/osmclient/sol005/nsd.py
index
b134461
..
873be5b
100644
(file)
--- a/
osmclient/sol005/nsd.py
+++ b/
osmclient/sol005/nsd.py
@@
-116,7
+116,7
@@
class Nsd(object):
msg = ""
if resp:
try:
-
resp
= json.loads(resp)
+
msg
= json.loads(resp)
except ValueError:
msg = resp
raise ClientException("failed to delete nsd {} - {}".format(name, msg))