From a6205344b16d7e72c0f05c4114ee05e9e2434715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz=20=28admin=29?= Date: Sat, 2 Oct 2021 20:08:52 +0200 Subject: [PATCH] fix _levelNames error --- gitosis/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitosis/app.py b/gitosis/app.py index d3180ce..9da247d 100644 --- a/gitosis/app.py +++ b/gitosis/app.py @@ -79,7 +79,7 @@ class App(object): pass else: try: - symbolic = logging._levelNames[loglevel] + symbolic = logging._nameToLevel[loglevel] except KeyError: log.warning( 'Ignored invalid loglevel configuration: %r',