From: Tony Mack Date: Wed, 25 Aug 2010 20:30:21 +0000 (+0000) Subject: fix NameError X-Git-Tag: sfa-1.0-0~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7589ec31d8da02c52e1a667c0c2e062ac9519548;p=sfa.git fix NameError --- diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 0ceed7c5..ddca04d7 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -636,7 +636,7 @@ class ComponentAPI(BaseAPI): """ path = self.config.SFA_DATA_DIR config_dir = self.config.config_path - credfile = path + os.sep + 'node.cred' + cred_filename = path + os.sep + 'node.cred' try: credential = Credential(filename = cred_filename) return credential.save_to_string(save_parents=True)