summaryrefslogtreecommitdiff
path: root/paramiko
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2012-11-29 08:52:39 -0800
committerJeff Forcier <jeff@bitprophet.org>2012-11-29 08:52:39 -0800
commit2575b3efc48cb9f42c3105015284b9afd9c67625 (patch)
tree640853c2b6d7465b69079369d70ddaf798d859e1 /paramiko
parentd47e6b9e7f3df5497d0ba664656e1a8b396ddd20 (diff)
downloadparamiko-2575b3efc48cb9f42c3105015284b9afd9c67625.tar.gz
Fix #94
Diffstat (limited to 'paramiko')
-rw-r--r--paramiko/client.py3
-rw-r--r--paramiko/config.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/paramiko/client.py b/paramiko/client.py
index 97ae4494..a777b45b 100644
--- a/paramiko/client.py
+++ b/paramiko/client.py
@@ -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
diff --git a/paramiko/config.py b/paramiko/config.py
index 2828d903..d1ce9490 100644
--- a/paramiko/config.py
+++ b/paramiko/config.py
@@ -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)