From 49904f6b5ae825411bd1dbc7e0991dec60b38898 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 19:09:25 -0500 Subject: [PATCH] Drop useless lambda Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- modules/remotebackend/regression-tests/dnsbackend.py | 2 +- modules/remotebackend/unittest_http.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/remotebackend/regression-tests/dnsbackend.py b/modules/remotebackend/regression-tests/dnsbackend.py index 0bcaa39d4d..18ff566754 100755 --- a/modules/remotebackend/regression-tests/dnsbackend.py +++ b/modules/remotebackend/regression-tests/dnsbackend.py @@ -13,7 +13,7 @@ class DNSBackendHandler(http.server.BaseHTTPRequestHandler): def url_to_args(self): url = urlparse(self.path) - parts = list(map(lambda part: unquote(part), url.path.split("/"))) + parts = list(map(unquote, url.path.split("/"))) parts.pop(0) self.method = None diff --git a/modules/remotebackend/unittest_http.py b/modules/remotebackend/unittest_http.py index 7115aff71a..aa2ba33836 100755 --- a/modules/remotebackend/unittest_http.py +++ b/modules/remotebackend/unittest_http.py @@ -24,7 +24,7 @@ class DNSBackendHandler(http.server.BaseHTTPRequestHandler): def url_to_args(self): url = urlparse(self.path) - parts = list(map(lambda part: unquote(part), url.path.split("/"))) + parts = list(map(unquote, url.path.split("/"))) parts.pop(0) self.method = None -- 2.47.3