diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:03:36 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-16 19:38:17 -0500 |
commit | e993a986388b0ec44b109a03edd34937a51aa9a1 (patch) | |
tree | c7d898b9f03d4365de8f247fd5eccead08a194f8 /paramiko/win_pageant.py | |
parent | 078c4b0fd7753f31e2f9c0c37979920a5df33098 (diff) | |
download | paramiko-e993a986388b0ec44b109a03edd34937a51aa9a1.tar.gz |
s/%/fstrings/g
Except in one spot where it was too complicated to bother for now XD
Diffstat (limited to 'paramiko/win_pageant.py')
-rw-r--r-- | paramiko/win_pageant.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/win_pageant.py b/paramiko/win_pageant.py index 780824c1..5a085939 100644 --- a/paramiko/win_pageant.py +++ b/paramiko/win_pageant.py @@ -84,7 +84,7 @@ def _query_pageant(msg): return None # create a name for the mmap - map_name = "PageantRequest%08x" % thread.get_ident() + map_name = f"PageantRequest{thread.get_ident():08x}" pymap = _winapi.MemoryMap( map_name, _AGENT_MAX_MSGLEN, _winapi.get_security_attributes_for_user() |