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:
f1c66ce
)
FIT IoT-Lab driver: fixed add_user when user login not found
author
Loic Baron
<loic.baron@lip6.fr>
Fri, 18 May 2018 11:02:24 +0000
(13:02 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Fri, 18 May 2018 11:02:24 +0000
(13:02 +0200)
sfa/iotlab/iotlabdriver.py
patch
|
blob
|
history
diff --git
a/sfa/iotlab/iotlabdriver.py
b/sfa/iotlab/iotlabdriver.py
index
d43395c
..
efbe4b6
100644
(file)
--- a/
sfa/iotlab/iotlabdriver.py
+++ b/
sfa/iotlab/iotlabdriver.py
@@
-111,7
+111,7
@@
class IotLabDriver(Driver):
email = caller_user['email']
# ensure user exist in LDAP tree
users = self._get_users(email)
email = caller_user['email']
# ensure user exist in LDAP tree
users = self._get_users(email)
- if
users and
email not in users:
+ if email not in users:
self.shell.add_user(caller_user)
users = self._get_users(email)
if users and email in users:
self.shell.add_user(caller_user)
users = self._get_users(email)
if users and email in users: