Skip to content

Commit 59b344f

Browse files
authored
Merge pull request #8146 from chrisburr/fix-TheImpersonator
[9.0] Fix TypeError in TheImpersonator
2 parents 3ff4e07 + f7d934f commit 59b344f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/FrameworkSystem/Utilities/diracx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_token(
6161

6262
@cached(
6363
TTLCache(maxsize=DEFAULT_TOKEN_CACHE_SIZE, ttl=DEFAULT_TOKEN_CACHE_TTL),
64-
key=lambda a, b, c: hashkey(a, b, *sorted(c)),
64+
key=lambda a, b, c, **_: hashkey(a, b, *sorted(c)),
6565
)
6666
def _get_token_file(username: str, group: str, dirac_properties: set[str], *, source: str = "") -> Path:
6767
"""Write token to a temporary file and return the path to that file"""

0 commit comments

Comments
 (0)