Peter Bieringer 7 mesi fa
parent
commit
8d2a71557a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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