Fix #94
This commit is contained in:
parent
d47e6b9e7f
commit
2575b3efc4
2
NEWS
2
NEWS
|
@ -18,6 +18,8 @@ v1.10.0 (DD MM YYYY)
|
|||
* #113: Add `timeout` parameter to `SSHClient.exec_command` for easier setting
|
||||
of the command's internal channel object's timeout. Thanks to Cernov Vladimir
|
||||
for the patch.
|
||||
* #94: Remove duplication of SSH port constant. Thanks to Olle Lundberg for the
|
||||
catch.
|
||||
|
||||
v1.9.0 (6th Nov 2012)
|
||||
---------------------
|
||||
|
|
|
@ -28,6 +28,7 @@ import warnings
|
|||
|
||||
from paramiko.agent import Agent
|
||||
from paramiko.common import *
|
||||
from paramiko.config import SSH_PORT
|
||||
from paramiko.dsskey import DSSKey
|
||||
from paramiko.hostkeys import HostKeys
|
||||
from paramiko.resource import ResourceManager
|
||||
|
@ -37,8 +38,6 @@ from paramiko.transport import Transport
|
|||
from paramiko.util import retry_on_signal
|
||||
|
||||
|
||||
SSH_PORT = 22
|
||||
|
||||
class MissingHostKeyPolicy (object):
|
||||
"""
|
||||
Interface for defining the policy that L{SSHClient} should use when the
|
||||
|
|
|
@ -25,7 +25,7 @@ import os
|
|||
import re
|
||||
import socket
|
||||
|
||||
SSH_PORT=22
|
||||
SSH_PORT = 22
|
||||
proxy_re = re.compile(r"^(proxycommand)\s*=*\s*(.*)", re.I)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue