From b0cfd3117e797c53d47ddc15d7cdca0345d4bf13 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Mon, 16 Jan 2023 19:54:16 -0500 Subject: Nuke unused private method --- paramiko/config.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'paramiko') diff --git a/paramiko/config.py b/paramiko/config.py index b387fca9..2358102b 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -340,10 +340,6 @@ class SSHConfig: match = True return match - # TODO 3.0: remove entirely (is now unused internally) - def _allowed(self, hosts, hostname): - return self._pattern_matches(hosts, hostname) - def _does_match(self, match_list, target_hostname, canonical, options): matched = [] candidates = match_list[:] -- cgit v1.2.1