Skip to content

Commit 1c11268

Browse files
authored
Merge pull request #5676 from DIRACGridBot/cherry-pick-2-d6449a3d6-integration
[sweep:integration] change keyword args from type to type_
2 parents 3d92153 + 3e8bb7e commit 1c11268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DIRAC/ConfigurationSystem/Agent/RucioSynchronizerAgent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def execute(self):
336336
if account not in listAccounts:
337337
self.log.info("Will create %s with associated DN %s", account, dn)
338338
try:
339-
client.add_account(account=account, type="USER", email=email)
339+
client.add_account(account, "USER", email)
340340
listAccounts.append(account)
341341
except Exception as err:
342342
self.log.error("Cannot create account %s : %s", account, str(err))
@@ -368,7 +368,7 @@ def execute(self):
368368
if group not in listAccounts:
369369
self.log.info("Will create SERVICE account %s" % (group))
370370
try:
371-
client.add_account(account=group, type="SERVICE", email=None)
371+
client.add_account(group, "SERVICE", None)
372372
listAccounts.append(group)
373373
except Exception as err:
374374
self.log.error("Cannot create account %s : %s" % (group, str(err)))

0 commit comments

Comments
 (0)