Skip to content

Commit 6246e04

Browse files
committed
Stop using session
1 parent 4fc7171 commit 6246e04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DIRAC/FrameworkSystem/Utilities/diracx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_token(
117117
vo = Registry.getVOForGroup(group)
118118
scopes = [f"vo:{vo}", f"group:{group}"] + [f"property:{prop}" for prop in dirac_properties]
119119

120-
r = diracx_session.get(
120+
r = requests.get(
121121
f"{diracxUrl}/api/auth/legacy-exchange",
122122
params={
123123
"preferred_username": username,

0 commit comments

Comments
 (0)