fix (or disable) pylint warnings

This commit is contained in:
Mike Kinney
2021-12-08 15:00:57 -08:00
parent 994b31c688
commit 624c933dbf
7 changed files with 31 additions and 17 deletions

View File

@@ -75,8 +75,11 @@ class StreamInterface(MeshInterface):
MeshInterface._disconnected(self)
logging.debug("Closing our port")
# pylint: disable=E0203
if not self.stream is None:
# pylint: disable=E0203
self.stream.close()
# pylint: disable=W0201
self.stream = None
def _writeBytes(self, b):