@@ -115,6 +116,11 @@
ref = CIMInstanceName(cn, keybindings=keys)
+ curr_cim_rev, changeset = get_provider_version(options.virt, options.ip)
+ if tc == 'invalid_name' and curr_cim_rev >= libvirt_err_changes:
+ expr_values['desc'] = "Referenced domain `invalid_name' \
+does not exist: Domain not found"
+
Can you use something like the following instead:
expr_values['desc'] = "Referenced domain
`invalid_name'" + \
" does not exist: Domain not found"
This is much cleaner since it doesn't span 80 characters.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com