Code Review
/
vfc
/
nfvo
/
lcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Update python2 to python3
[vfc/nfvo/lcm.git]
/
lcm
/
ns_vnfs
/
biz
/
grant_vnf.py
diff --git
a/lcm/ns_vnfs/biz/grant_vnf.py
b/lcm/ns_vnfs/biz/grant_vnf.py
index
c393614
..
9c869ea
100644
(file)
--- a/
lcm/ns_vnfs/biz/grant_vnf.py
+++ b/
lcm/ns_vnfs/biz/grant_vnf.py
@@
-32,7
+32,7
@@
class GrantVnf(object):
def exec_grant(self):
logger.debug("grant data from vnfm:%s", self.data)
- if isinstance(self.data,
(unicode, str)
):
+ if isinstance(self.data,
str
):
self.data = json.JSONDecoder().decode(self.data)
has_res_tpl = False
grant_type = None