diff options
author | Chris Liechti <cliechti@gmx.net> | 2016-06-10 00:08:06 +0200 |
---|---|---|
committer | Chris Liechti <cliechti@gmx.net> | 2016-06-10 00:08:06 +0200 |
commit | 5d772fcd6969652fb8f2361f1fd5c1c5884e7a80 (patch) | |
tree | 396e433539918259d458351a6c84fc3eaeff309e | |
parent | 279201b57db50b3990f9efea941572c86e3f432e (diff) | |
download | pyserial-git-5d772fcd6969652fb8f2361f1fd5c1c5884e7a80.tar.gz |
cli: rename to _reconfigure_port, fixes #127
-rw-r--r-- | CHANGES.rst | 2 | ||||
-rw-r--r-- | serial/serialcli.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 25bf49e..fbb8ce2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -634,6 +634,8 @@ Improvements: Bugfixes: - [#122] fix bug in FramedPacket +- [#127] The Serial class in the .NET/Mono (IronPython) backend does not + implement the _reconfigure_port method Bugfixes (posix): diff --git a/serial/serialcli.py b/serial/serialcli.py index 9596f62..0727a52 100644 --- a/serial/serialcli.py +++ b/serial/serialcli.py @@ -47,7 +47,7 @@ class Serial(SerialBase): if self._dtr_state is None: self._dtr_state = True - self._reconfigurePort() + self._reconfigure_port() self._port_handle.Open() self.is_open = True if not self._dsrdtr: @@ -56,7 +56,7 @@ class Serial(SerialBase): self._update_rts_state() self.reset_input_buffer() - def _reconfigurePort(self): + def _reconfigure_port(self): """Set communication parameters on opened port.""" if not self._port_handle: raise SerialException("Can only operate on a valid port handle") |