password lookup - re-attempt acquiring lock file regardless of locale (#85318)

* Fix handling FileExistsError, instead of only handling OSError when the human-readable error message is "File exists".

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 8e9f5fb9d5)
This commit is contained in:
Sloane Hertel
2025-06-24 15:18:16 -07:00
committed by Matt Clay
parent b6ac61b487
commit 39ed1fc4bc
3 changed files with 16 additions and 11 deletions
@@ -0,0 +1,2 @@
bugfixes:
- password lookup - fix acquiring the lock when human-readable FileExistsError error message is not English.