summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-16 19:54:16 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-16 19:56:24 -0500
commitb0cfd3117e797c53d47ddc15d7cdca0345d4bf13 (patch)
tree86619a3ad5f59f4e325c99ab6ecfdc6b1d6a1cbd
parent2292f94f2687d34b551c0c0294df6d17989b70db (diff)
downloadparamiko-b0cfd3117e797c53d47ddc15d7cdca0345d4bf13.tar.gz
Nuke unused private method
-rw-r--r--paramiko/config.py4
1 files changed, 0 insertions, 4 deletions
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[:]