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:
parent
5fea367103
commit
8d2a71557a
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ def user_groups_as_string():
|
||||||
egid = os.getegid()
|
egid = os.getegid()
|
||||||
try:
|
try:
|
||||||
username = pwd.getpwuid(euid)[0]
|
username = pwd.getpwuid(euid)[0]
|
||||||
except:
|
except Exception:
|
||||||
# name of user not found
|
# name of user not found
|
||||||
s = "user=(%d) group=(%d)" % (euid, egid)
|
s = "user=(%d) group=(%d)" % (euid, egid)
|
||||||
return s
|
return s
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue