From 96f2d36af67399c8390cbc21ce1cd51d2b13a469 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 28 Mar 2022 20:21:32 +0300 Subject: refactoring --- kvmd/plugins/auth/radius.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'kvmd/plugins/auth/radius.py') diff --git a/kvmd/plugins/auth/radius.py b/kvmd/plugins/auth/radius.py index 83b49bc4..b3bd94cc 100644 --- a/kvmd/plugins/auth/radius.py +++ b/kvmd/plugins/auth/radius.py @@ -21,7 +21,6 @@ import io -import textwrap from typing import Dict @@ -43,8 +42,8 @@ from . import BaseAuthService # ===== -_FREERADUIS_DICT = textwrap.dedent(""" - # https://github.com/pyradius/pyrad/raw/master/example/dictionary +_FREERADUIS_DICT = """ +# https://github.com/pyradius/pyrad/raw/master/example/dictionary # # Following are the proper new names. Use these. @@ -395,7 +394,7 @@ VALUE Packet-Type Accounting-Message 10 VALUE Packet-Type Access-Challenge 11 VALUE Packet-Type Status-Server 12 VALUE Packet-Type Status-Client 13 -""") +""" # ===== -- cgit v1.2.3