cli: rename to _reconfigure_port, fixes #127
diff --git a/CHANGES.rst b/CHANGES.rst
index 25bf49e..fbb8ce2 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -634,6 +634,8 @@
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 @@
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 @@
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")