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

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