summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2003-03-03 00:26:15 +0000
committercliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2003-03-03 00:26:15 +0000
commit3a58b4b2c837687215f6dd1dd01b65eedbc3dac1 (patch)
treea24b99a4fa2b1af634d80cb88db3fcbd8c8337c1
parentc77d94bf5a5483e0c979a57b51fa1d14988ab46f (diff)
downloadpyserial-git-3a58b4b2c837687215f6dd1dd01b65eedbc3dac1.tar.gz
remove code to set control lines in close methond of win32 version. [Bug 669625]
-rw-r--r--pyserial/serial/serialwin32.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyserial/serial/serialwin32.py b/pyserial/serial/serialwin32.py
index e225838..fdcb418 100644
--- a/pyserial/serial/serialwin32.py
+++ b/pyserial/serial/serialwin32.py
@@ -11,7 +11,7 @@ import win32con # constants.
import sys, string
import serialutil
-VERSION = string.split("$Revision: 1.16 $")[1] #extract CVS version
+VERSION = string.split("$Revision: 1.17 $")[1] #extract CVS version
PARITY_NONE, PARITY_EVEN, PARITY_ODD = range(3)
STOPBITS_ONE, STOPBITS_TWO = (1, 2)
@@ -157,8 +157,8 @@ class Serial(serialutil.FileLike):
# if comState.cbOutQue <= 0 or calcTimeout(startTime) > timeout:
# break
- self.setRTS(0)
- self.setDTR(0)
+ #~ self.setRTS(0) #causes problem if HW handshake is enabled
+ #~ self.setDTR(0)
#Clear buffers:
win32file.PurgeComm(self.hComPort,
win32file.PURGE_TXCLEAR | win32file.PURGE_TXABORT |