From: Tony Mack Date: Wed, 25 Aug 2010 20:31:09 +0000 (+0000) Subject: fix NameError X-Git-Tag: sfa-0.9-15~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b2ce80c0c52772381cbbb71cca516a97e8ad14b8;p=sfa.git fix NameError --- diff --git a/sfa/plc/api.py b/sfa/plc/api.py index f58160ed..1dff0b11 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -1,7 +1,7 @@ # # SFA XML-RPC and SOAP interfaces # -### $Id: api.py 18671 2010-08-25 19:35:06Z tmack $ +### $Id: api.py 18673 2010-08-25 20:30:21Z tmack $ ### $URL: https://svn.planet-lab.org/svn/sfa/trunk/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)