From 8e81ba61f59a6721137cef03c5ff6f61e627049b Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sun, 23 Apr 2006 18:10:46 -0700 Subject: [PATCH] [project @ robey@lag.net-20060424011046-7edc8e67b364f07d] mark a couple of functions as since 1.5.2 --- paramiko/util.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paramiko/util.py b/paramiko/util.py index a51f195..f39ff29 100644 --- a/paramiko/util.py +++ b/paramiko/util.py @@ -216,6 +216,8 @@ def parse_ssh_config(file_obj): @type file_obj: file @return: opaque configuration object @rtype: object + + @since: 1.5.2 """ ret = [] config = { 'host': '*' } @@ -271,6 +273,8 @@ def lookup_ssh_host_config(hostname, config): @type hostname: str @param config: the config object to search @type config: object + + @since: 1.5.2 """ matches = [x for x in config if fnmatch.fnmatch(hostname, x['host'])] # sort in order of shortest match (usually '*') to longest