
13 Oct
2008
13 Oct
'08
9:41 p.m.
- keys = ['Name', 'CreationClassName'] + + cs_class = get_typed_class(options.virt, 'ComputerSystem') try: - cs = enumclass.enumerate(server, 'ComputerSystem', keys, virt) + cs = enumclass.EnumInstances(server, cs_class) except Exception,detail: logger.error(CIM_ERROR_ENUMERATE, 'ComputerSystem')
You can use cs_class instead of hardcoding the 'ComputerSystem'. otherwise +1 for me.
Agreed. Can you rework this patch? Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com