From bd4542ae623391da4b39b244f349d3185e48dc19 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 22 Jan 2008 23:59:29 +0000 Subject: [PATCH] return 1 --- qaapi/qa/modules/plc/boot_node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qaapi/qa/modules/plc/boot_node.py b/qaapi/qa/modules/plc/boot_node.py index ca0b1e4..c7e6552 100644 --- a/qaapi/qa/modules/plc/boot_node.py +++ b/qaapi/qa/modules/plc/boot_node.py @@ -18,7 +18,7 @@ class boot_node(Test): # validate hostname nodes = api.GetNodes(auth, [hostname], ['hostname']) if not nodes: - raise Exception, "No such node %s" + raise Exception, "No such node %(hostname)s" bootimage = api.GetBootMedium(auth, hostname, image_type, '') bootimage_path = '/%(tdir)s/%(hostname)s-bootcd.iso' % locals() @@ -50,4 +50,4 @@ class boot_node(Test): raise Exception, "Unable to boot node image\n" + \ "\n".join(self.errors) - return True + return 1 -- 2.47.0