~homeworkprod/byceps

a2fca05179ba729aea68cadd5963cd6d9bc2157b — Jochen Kupperschmidt 7 days ago c9177b1
Use `warning` logger method instead of deprecated `warn`
1 files changed, 1 insertions(+), 1 deletions(-)

M byceps/blueprints/common/authorization/registry.py
M byceps/blueprints/common/authorization/registry.py => byceps/blueprints/common/authorization/registry.py +1 -1
@@ 38,7 38,7 @@ class PermissionRegistry:
        try:
            return enum[permission_name]
        except KeyError:
            current_app.logger.warn(
            current_app.logger.warning(
                'Ignoring unknown permission name "%s" configured '
                'in database for "%s" enum (permission ID: "%s").',
                permission_name,