NodeManager instance need the confing opbject, not the filename
authorTony Mack <tmack@cs.princeton.edu>
Fri, 5 Feb 2010 20:40:31 +0000 (20:40 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 5 Feb 2010 20:40:31 +0000 (20:40 +0000)
sfa/plc/api.py

index 3fdd77e..57b90b6 100644 (file)
@@ -427,7 +427,7 @@ class ComponentAPI(BaseAPI):
         if config is None:
             return
 
-        self.nodemanager = NodeManager(config)
+        self.nodemanager = NodeManager(self.config)
 
     def sliver_exists(self):
         sliver_dict = self.nodemanager.GetXIDs()