Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
748d83f
)
-- typo in TSocket
author
Aditya Agarwal
<aditya@apache.org>
Wed, 7 Feb 2007 02:36:56 +0000
(
02:36
+0000)
committer
Aditya Agarwal
<aditya@apache.org>
Wed, 7 Feb 2007 02:36:56 +0000
(
02:36
+0000)
Reviewed By: slee
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664985
13f79535
-47bb-0310-9956-
ffa450edef68
lib/py/src/transport/TSocket.py
patch
|
blob
|
history
diff --git
a/lib/py/src/transport/TSocket.py
b/lib/py/src/transport/TSocket.py
index
f12f539
..
c8f9e36
100644
(file)
--- a/
lib/py/src/transport/TSocket.py
+++ b/
lib/py/src/transport/TSocket.py
@@
-5,9
+5,10
@@
class TSocket(TTransportBase):
"""Socket implementation of TTransport base."""
+
def __init__(self, host='localhost', port=9090):
self.host = host
- self.por
t
= port
+ self.por
t
= port
self.handle = None
def setHandle(self, h):