We manage cleaning up this resource ourselves. Pylint should shush.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id:
20210527211715.394144-5-jsnow@redhat.com
Message-id:
20210517184808.
3562549-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
self.connect(address)
self._logfile = None
if file:
+ # pylint: disable=consider-using-with
self._logfile = open(file, "bw")
self._open = True
self._drain_thread = None