Return the value from the API.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Mon, 19 Jan 2009 21:22:17 +0000 (21:22 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Mon, 19 Jan 2009 21:22:17 +0000 (21:22 +0000)
source/steps/WriteNetworkConfig.py

index 2ab86ae..e3239b1 100644 (file)
@@ -22,7 +22,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)