Revision 8e8092cc
b/lib/cmdlib.py | ||
---|---|---|
4085 | 4085 |
self.new_os_hvp[os_name] = hvs |
4086 | 4086 |
else: |
4087 | 4087 |
for hv_name, hv_dict in hvs.items(): |
4088 |
if hv_name not in self.new_os_hvp[os_name]: |
|
4088 |
if hv_dict is None: |
|
4089 |
# Delete if it exists |
|
4090 |
self.new_os_hvp[os_name].pop(hv_name, None) |
|
4091 |
elif hv_name not in self.new_os_hvp[os_name]: |
|
4089 | 4092 |
self.new_os_hvp[os_name][hv_name] = hv_dict |
4090 | 4093 |
else: |
4091 | 4094 |
self.new_os_hvp[os_name][hv_name].update(hv_dict) |
Also available in: Unified diff