remove svn keywords and use %{SCMURL} in spec file
[bootmanager.git] / source / steps / WriteNetworkConfig.py
index 7f89f81..bfc29b4 100644 (file)
@@ -1,5 +1,4 @@
 #!/usr/bin/python
-# $Id$
 #
 # Copyright (c) 2003 Intel Corporation
 # All rights reserved.
@@ -25,7 +24,7 @@ class BootAPIWrap:
     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)
 
@@ -132,7 +131,7 @@ def Run( vars, log ):
     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