From: Tony Mack Date: Wed, 11 Nov 2009 19:46:30 +0000 (+0000) Subject: change SFA_BASE_DIR to SFA_DATA_DIR X-Git-Tag: sfa-0.9-6~22 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7f4f8e8f2590fb01254ade6584455caedf668821;p=sfa.git change SFA_BASE_DIR to SFA_DATA_DIR --- diff --git a/sfa/plc/nodes.py b/sfa/plc/nodes.py index c057a625..96eb84b1 100644 --- a/sfa/plc/nodes.py +++ b/sfa/plc/nodes.py @@ -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 diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index 4040e6ce..7a9e5cc0 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -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