change SFA_BASE_DIR to SFA_DATA_DIR
authorTony Mack <tmack@cs.princeton.edu>
Wed, 11 Nov 2009 19:46:30 +0000 (19:46 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 11 Nov 2009 19:46:30 +0000 (19:46 +0000)
sfa/plc/nodes.py
sfa/plc/slices.py

index c057a62..96eb84b 100644 (file)
@@ -24,7 +24,7 @@ class Nodes(SimpleStorage):
         self.api = api
         self.ttl = ttl
         self.threshold = None
-        path = self.api.config.SFA_BASE_DIR
+        path = self.api.config.SFA_DATA_DIR
         filename = ".".join([self.api.interface, self.api.hrn, "nodes"])
         filepath = path + os.sep + filename
         self.nodes_file = filepath
index 4040e6c..7a9e5cc 100644 (file)
@@ -27,7 +27,7 @@ class Slices(SimpleStorage):
         self.api = api
         self.ttl = ttl
         self.threshold = None
-        path = self.api.config.SFA_BASE_DIR
+        path = self.api.config.SFA_DATA_DIR
         filename = ".".join([self.api.interface, self.api.hrn, "slices"])
         filepath = path + os.sep + filename
         self.slices_file = filepath