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:
3a46354
)
fix 1006 command wim-show tries to load json twice
51/8551/2
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 3 Feb 2020 14:48:59 +0000
(14:48 +0000)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 3 Feb 2020 14:54:08 +0000
(14:54 +0000)
Change-Id: Ie444c6856c2541d207432ca98d0cbedccd91c192
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osmclient/sol005/wim.py
patch
|
blob
|
history
diff --git
a/osmclient/sol005/wim.py
b/osmclient/sol005/wim.py
index
90632c6
..
f9d2431
100644
(file)
--- a/
osmclient/sol005/wim.py
+++ b/
osmclient/sol005/wim.py
@@
-235,7
+235,7
@@
class Wim(object):
resp = json.loads(resp)
if not resp or '_id' not in resp:
raise ClientException('failed to get wim info: '.format(resp))
- return
json.loads(resp)
+ return
resp
except NotFound:
raise NotFound("wim '{}' not found".format(name))