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 | 58a2aee542fe69edca22d4ef30ddbac418046a7c (patch) | |
tree | cb1a26cf2a30977811c4e278e2e6b902d91dfeca /pyserial/serial/serialutil.py | |
parent | 782d04d9df5b521b8af447807f585c734616f042 (diff) | |
download | pyserial-git-58a2aee542fe69edca22d4ef30ddbac418046a7c.tar.gz |
fix [Bug 2976262] dsrdtr should default to False
Diffstat (limited to 'pyserial/serial/serialutil.py')
-rw-r--r-- | pyserial/serial/serialutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyserial/serial/serialutil.py b/pyserial/serial/serialutil.py index db8f645..c5859c9 100644 --- a/pyserial/serial/serialutil.py +++ b/pyserial/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 |