parent
d144cf9c27
commit
aa6585942e
1 changed files with 4 additions and 1 deletions
|
@ -628,7 +628,10 @@ class VMWareInventory(object):
|
|||
elif type(vobj) in self.vimTable:
|
||||
rdata = {}
|
||||
for key in self.vimTable[type(vobj)]:
|
||||
rdata[key] = getattr(vobj, key)
|
||||
try:
|
||||
rdata[key] = getattr(vobj, key)
|
||||
except Exception as e:
|
||||
self.debugl(e)
|
||||
|
||||
elif issubclass(type(vobj), str) or isinstance(vobj, str):
|
||||
if vobj.isalnum():
|
||||
|
|
Loading…
Reference in a new issue