git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ed985
)
catch eception if convert_publickey fails
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 6 Jul 2011 18:12:46 +0000
(14:12 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 6 Jul 2011 18:12:46 +0000
(14:12 -0400)
sfa/plc/sfaImport.py
patch
|
blob
|
history
diff --git
a/sfa/plc/sfaImport.py
b/sfa/plc/sfaImport.py
index
cce4efe
..
e9d0940
100644
(file)
--- a/
sfa/plc/sfaImport.py
+++ b/
sfa/plc/sfaImport.py
@@
-135,7
+135,11
@@
class sfaImport:
# to planetlab
keys = self.shell.GetKeys(self.plc_auth, key_ids)
key = keys[0]['key']
- pkey = convert_public_key(key)
+ pkey = None
+ try:
+ pkey = convert_public_key(key)
+ except:
+ self.logger.warn('unable to convert public key for %s' % hrn)
if not pkey:
pkey = Keypair(create=True)
else: