From: Tony Mack Date: Tue, 4 Aug 2009 22:11:53 +0000 (+0000) Subject: fix bug in import_person, 'shell' is now defined X-Git-Tag: sfa-0.9-1~121 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b7af9d772e7686c38c705cd14cb666bc5f599278;p=sfa.git fix bug in import_person, 'shell' is now defined --- diff --git a/sfa/plc/sfaImport.py b/sfa/plc/sfaImport.py index ad16ad80..546b9aba 100644 --- a/sfa/plc/sfaImport.py +++ b/sfa/plc/sfaImport.py @@ -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: