#!/usr/bin/python
-# $Id$
#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
def __init__(self, vars):
self.vars = vars
def call(self, func, *args):
- BootAPI.call_api_function(self.vars, func, args)
+ return BootAPI.call_api_function(self.vars, func, args)
def __getattr__(self, func):
return lambda *args: self.call(func, *args)
except :
log.write(" .. Failed. Using old method. -- stack trace follows\n")
traceback.print_exc(file=log.OutputFile)
- bs= BootServerRequest.BootServerRequest()
+ bs= BootServerRequest.BootServerRequest(vars)
if bs.BOOTSERVER_CERTS:
print >> plc_config, "PLC_BOOT_HOST='%s'" % bs.BOOTSERVER_CERTS.keys()[0]
print >> plc_config, "PLC_API_HOST='%s'" % host