Code Review
/
modeling
/
etsicatalog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix the bug: Exception with e.message
[modeling/etsicatalog.git]
/
catalog
/
pub
/
Dmaap_lib
/
dmaap
/
identity.py
diff --git
a/catalog/pub/Dmaap_lib/dmaap/identity.py
b/catalog/pub/Dmaap_lib/dmaap/identity.py
index
57f4016
..
6e801e8
100644
(file)
--- a/
catalog/pub/Dmaap_lib/dmaap/identity.py
+++ b/
catalog/pub/Dmaap_lib/dmaap/identity.py
@@
-47,7
+47,7
@@
class IdentityClient:
}
return resp_data
except Exception as e:
}
return resp_data
except Exception as e:
- raise DmaapClientException('create apikey from dmaap failed: ' +
e.message
)
+ raise DmaapClientException('create apikey from dmaap failed: ' +
str(e)
)
def get_apikey(self, apikey):
try:
def get_apikey(self, apikey):
try:
@@
-59,7
+59,7
@@
class IdentityClient:
ret = ret.json()
return ret
except Exception as e:
ret = ret.json()
return ret
except Exception as e:
- raise DmaapClientException('get apikey from dmaap failed: ' +
e.message
)
+ raise DmaapClientException('get apikey from dmaap failed: ' +
str(e)
)
def delete_apikey(self):
pass
def delete_apikey(self):
pass