Dan Smith wrote:
ZL> + cxml = vxml.get_class(options.virt)(test_dom, vcpus =
test_cpu,
ZL> + mac = test_mac, disk = test_disk)
I'm not familiar with the "function(foo)(bar)" syntax. Can you
explain?
If get_class returns a class object, then the second set of parens would
represent the call to that classes constructor I believe. If I'm right,
my opinion would be "clever, but let's make it more obvious what's going
on here."
--
-Jay