fix NameError
authorTony Mack <tmack@cs.princeton.edu>
Wed, 25 Aug 2010 20:31:09 +0000 (20:31 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 25 Aug 2010 20:31:09 +0000 (20:31 +0000)
sfa/plc/api.py

index f58160e..1dff0b1 100644 (file)
@@ -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)