SF.net SVN: fclient: [356] trunk/sandbox/fcp2/test_fcp/dummy_io.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-03-10 13:03:49
|
Revision: 356
http://fclient.svn.sourceforge.net/fclient/?rev=356&view=rev
Author: jUrner
Date: 2008-03-10 06:03:53 -0700 (Mon, 10 Mar 2008)
Log Message:
-----------
io was broken. fixed now
Modified Paths:
--------------
trunk/sandbox/fcp2/test_fcp/dummy_io.py
Modified: trunk/sandbox/fcp2/test_fcp/dummy_io.py
===================================================================
--- trunk/sandbox/fcp2/test_fcp/dummy_io.py 2008-03-10 13:03:44 UTC (rev 355)
+++ trunk/sandbox/fcp2/test_fcp/dummy_io.py 2008-03-10 13:03:53 UTC (rev 356)
@@ -22,7 +22,7 @@
#********************************************************************
class DummyIO(iohandler.IOObjectBase):
- def __init__(self, **kwargs):
+ def __init__(self):
self.readBuffer = '' # buffer client reads from
self.writeBuffer = '' # buffer client writes to
@@ -60,7 +60,9 @@
self.writeBuffer += bytes
def close(self):
- self.reset()
+ self._isBroken = False
+ self._allowConnect = True
+ self._reverseDirection = False
if self.isOpen():
self._isOpen = False
self.readBuffer = ''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|