From ccdfd9a4fafdb7a8d006258da3d4b4e3b516fd9a Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 4 Dec 2022 16:42:12 +0000 Subject: [PATCH] scripts/killswitch_test: One flake8 issue fixed --- scripts/killswitch_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/killswitch_test.py b/scripts/killswitch_test.py index 1b2f54a7..b6874e50 100644 --- a/scripts/killswitch_test.py +++ b/scripts/killswitch_test.py @@ -29,7 +29,7 @@ KNOWN_KILLSWITCH_NAMES: list[str] = [ 'plugins.eddb.journal.event.$event' ] -SPLIT_KNOWN_NAMES = list(map(lambda x: x.split('.'), KNOWN_KILLSWITCH_NAMES)) +SPLIT_KNOWN_NAMES = [x.split('.') for x in KNOWN_KILLSWITCH_NAMES] def match_exists(match: str) -> tuple[bool, str]: