Skip to content

Commit d9dd4c7

Browse files
authored
Merge pull request #5941 from chaen/v8r0_HACK_fixDiracLogin
[8.0] fix (dirac-login): pass the file location to setVOMSAttributes
2 parents 650f5c0 + 8d925da commit d9dd4c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/FrameworkSystem/scripts/dirac_login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def loginWithCertificate(self):
278278
print(HTML(f"<yellow>No VOMS attribute foud for {self.group}</yellow>"))
279279
else:
280280
vo = getVOMSVOForGroup(self.group)
281-
if not (result := VOMS().setVOMSAttributes(chain, attribute=vomsAttr, vo=vo))["OK"]:
281+
if not (result := VOMS().setVOMSAttributes(self.outputFile, attribute=vomsAttr, vo=vo))["OK"]:
282282
return S_ERROR(f"Failed adding VOMS attribute: {result['Message']}")
283283
chain = result["Value"]
284284
result = chain.generateProxyToFile(*parameters)

0 commit comments

Comments
 (0)