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

index 0ceed7c..ddca04d 100644 (file)
@@ -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)