X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sfa%2Fiotlab%2Fiotlabshell.py;h=ac6009701b27e96d8ae66bd9b8f4de2e43cd6677;hb=2880f8a4ec7acc3925cb865ce6b3076dd593274a;hp=363e4b5ed2863a59a8e0ac7db085d09fce15e9ee;hpb=2a00383f87ca8c4699f4736641854f451c2a396a;p=sfa.git diff --git a/sfa/iotlab/iotlabshell.py b/sfa/iotlab/iotlabshell.py index 363e4b5e..ac600970 100644 --- a/sfa/iotlab/iotlabshell.py +++ b/sfa/iotlab/iotlabshell.py @@ -159,7 +159,7 @@ class IotLABShell(object): user['email'] = email user['sshPublicKey'] = slice_user['keys'][0] # ex : onelab.inria - user['structure'] = slice_user['slice_record']['authority'] + user['structure'] = slice_user['urn'].split('+')[1].replace(':','.') email = (email.split('@'))[0] user['firstName'] = email.split('.')[0] try: