summaryrefslogtreecommitdiff
path: root/serial/serialposix.py
diff options
context:
space:
mode:
Diffstat (limited to 'serial/serialposix.py')
-rw-r--r--serial/serialposix.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/serial/serialposix.py b/serial/serialposix.py
index 7e432c7..c920cbe 100644
--- a/serial/serialposix.py
+++ b/serial/serialposix.py
@@ -12,6 +12,7 @@
#
# references: http://www.easysw.com/~mike/serial/serial.html
+# pylint: disable=abstract-method
import errno
import fcntl
import os
@@ -436,9 +437,9 @@ class Serial(SerialBase, PlatformSpecific):
# activate settings
if force_update or [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] != orig_attr:
termios.tcsetattr(
- self.fd,
- termios.TCSANOW,
- [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
+ self.fd,
+ termios.TCSANOW,
+ [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
# apply custom baud rate, if any
if custom_baud is not None: