X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fiotlab%2Fiotlabshell.py;h=0b4a7c6708fc22f3aa0c798ee4ea084e50a513e4;hb=bb97da6a2ed8d2f844af8d155d68847d08732a99;hp=363e4b5ed2863a59a8e0ac7db085d09fce15e9ee;hpb=b835890db506439d1925577ccdc9ef4f0b3dc6ac;p=sfa.git diff --git a/sfa/iotlab/iotlabshell.py b/sfa/iotlab/iotlabshell.py index 363e4b5e..0b4a7c67 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] email = (email.split('@'))[0] user['firstName'] = email.split('.')[0] try: