diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-05-20 23:37:57 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-05-20 23:37:57 +0000 |
commit | 59eb56a741b22afb533fbcedaee0d26087cf4392 (patch) | |
tree | 85e41ba0ddade8f6ec6676342bbdea78536ac4d5 | |
parent | 88898f51652aea06092a3d77ce3e0379947d56b5 (diff) | |
download | pyserial-59eb56a741b22afb533fbcedaee0d26087cf4392.tar.gz |
fix [Bug 2976262] dsrdtr should default to False
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@361 f19166aa-fa4f-0410-85c2-fa1106f25c8a
-rw-r--r-- | serial/serialutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serial/serialutil.py b/serial/serialutil.py index db8f645..c5859c9 100644 --- a/serial/serialutil.py +++ b/serial/serialutil.py @@ -5,7 +5,7 @@ # (C) 2001-2009 Chris Liechti <cliechti@gmx.net> # this is distributed under a free software license, see license.txt -# compatibility folder Python < 2.6 +# compatibility for older Python < 2.6 try: bytes bytearray @@ -164,7 +164,7 @@ class SerialBase(object): xonxoff=0, # enable software flow control rtscts=0, # enable RTS/CTS flow control writeTimeout=None, # set a timeout for writes - dsrdtr=None, # None: use rtscts setting, dsrdtr override if true or false + dsrdtr=False, # None: use rtscts setting, dsrdtr override if True or False interCharTimeout=None # Inter-character timeout, None to disable ): """Initialize comm port object. If a port is given, then the port will be |