File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/DIRAC/ConfigurationSystem/Agent Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ def execute(self):
336
336
if account not in listAccounts :
337
337
self .log .info ("Will create %s with associated DN %s" , account , dn )
338
338
try :
339
- client .add_account (account = account , type = "USER" , email = email )
339
+ client .add_account (account , "USER" , email )
340
340
listAccounts .append (account )
341
341
except Exception as err :
342
342
self .log .error ("Cannot create account %s : %s" , account , str (err ))
@@ -368,7 +368,7 @@ def execute(self):
368
368
if group not in listAccounts :
369
369
self .log .info ("Will create SERVICE account %s" % (group ))
370
370
try :
371
- client .add_account (account = group , type = "SERVICE" , email = None )
371
+ client .add_account (group , "SERVICE" , None )
372
372
listAccounts .append (group )
373
373
except Exception as err :
374
374
self .log .error ("Cannot create account %s : %s" % (group , str (err )))
You can’t perform that action at this time.
0 commit comments