parent
3e1a16c574
commit
25019fe70c
|
@ -560,7 +560,10 @@ class VMWareInventory(object):
|
|||
|
||||
# if the val wasn't set yet, get it from the parent
|
||||
if not val:
|
||||
try:
|
||||
val = getattr(vm, x)
|
||||
except AttributeError as e:
|
||||
self.debugl(e)
|
||||
else:
|
||||
# in a subkey, get the subprop from the previous attrib
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue