fix bug in import_person, 'plc_auth' is now defined
authorTony Mack <tmack@cs.princeton.edu>
Tue, 4 Aug 2009 22:15:41 +0000 (22:15 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 4 Aug 2009 22:15:41 +0000 (22:15 +0000)
sfa/plc/sfaImport.py

index 546b9ab..cbfec5c 100644 (file)
@@ -144,7 +144,7 @@ class sfaImport:
 
             # get the user's private key from the SSH keys they have uploaded
             # to planetlab
-            keys = self.shell.GetKeys(plc_auth, key_ids)
+            keys = self.shell.GetKeys(self.plc_auth, key_ids)
             key = keys[0]['key']
             pkey = convert_public_key(key)
         else: