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:
ff3cb37
)
minor
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Fri, 8 Nov 2013 11:40:57 +0000
(12:40 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Fri, 8 Nov 2013 11:40:57 +0000
(12:40 +0100)
sfa/planetlab/plslices.py
patch
|
blob
|
history
diff --git
a/sfa/planetlab/plslices.py
b/sfa/planetlab/plslices.py
index
3c75649
..
ae5ee78
100644
(file)
--- a/
sfa/planetlab/plslices.py
+++ b/
sfa/planetlab/plslices.py
@@
-498,6
+498,8
@@
class PlSlices:
person_id = self.driver.shell.AddPerson(person)
self.driver.shell.AddRoleToPerson('user', int(person_id))
+ # enable the account
+ self.driver.shell.UpdatePerson(int(person_id), {'enabled': True})
self.driver.shell.SetPersonHrn(int(person_id), person_hrn)
self.driver.shell.SetPersonSfaCreated(int(person_id), 'True')
self.driver.shell.AddPersonToSite(int(person_id), site['site_id'])