1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

make flake8 happy

This commit is contained in:
Peter Bieringer 2025-07-20 12:49:53 +02:00
parent 5fea367103
commit 8d2a71557a

View file

@ -227,7 +227,7 @@ def user_groups_as_string():
egid = os.getegid()
try:
username = pwd.getpwuid(euid)[0]
except:
except Exception:
# name of user not found
s = "user=(%d) group=(%d)" % (euid, egid)
return s