if rc != 0:
- rc = XFAIL_RC(bug)
- raise Exception("Unable start dom %s using
RequestedStateChange()",
- default_dom)
+ status = XFAIL_RC(bug)
+ raise Exception("RequestedStateChange() could not be used to start
"
+ "domain:", default_dom)
+
I know this was originally in the code (and my mistake too, I believe),
but can you fix the strings the the raise call to use %s instead of a comma:
raise Exception("RequestedStateChange() could not be used to start "
"domain: %s" % default_dom)
As the code is now, it prints like:
('RequestedStateChange() could not be used to start domain:',
'test_domain')
This isn't bad, but the following is cleaner:
('RequestedStateChange() could not be used to start domain: test_domain')
Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com