summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/auth_transport.py2
-rw-r--r--tests/loop.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/auth_transport.py b/paramiko/auth_transport.py
index b6da9bb8..32e99ba9 100644
--- a/paramiko/auth_transport.py
+++ b/paramiko/auth_transport.py
@@ -53,7 +53,7 @@ class Transport (BaseTransport):
self.auth_fail_count = 0
def __repr__(self):
- out = '<paramiko.Transport at %s' % hex(id(self))
+ out = '<paramiko.Transport at %s' % hex(long(id(self)) & 0xffffffffL)
if not self.active:
out += ' (unconnected)'
else:
diff --git a/tests/loop.py b/tests/loop.py
index 9a9734a1..22a173fa 100644
--- a/tests/loop.py
+++ b/tests/loop.py
@@ -28,7 +28,7 @@ import threading, socket
class LoopSocket (object):
"""
A LoopSocket looks like a normal socket, but all data written to it is
- delivered on the read-end of another LoopSocket, and vice versa, It's
+ delivered on the read-end of another LoopSocket, and vice versa. It's
like a software "socketpair".
"""