Browse Source

make flake8 happy

Peter Bieringer 7 months ago
parent
commit
8d2a71557a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      radicale/utils.py

+ 1 - 1
radicale/utils.py

@@ -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