summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2005-02-28 07:17:21 +0000
committerRobey Pointer <robey@lag.net>2005-02-28 07:17:21 +0000
commit2746d449067e3e25afe8d2afaf1e5bf740d9c20c (patch)
tree35ecb60b9012ab7b7a6e70dd7c8d5ae550014d16
parent246f3d46a291cc186128ac84a8916f53d4e9effb (diff)
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-152]
little doc fixes stupid little doc fixups that didn't fit with the other patches.
-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".
"""