add temporary ignore for FileHandler stream close

This commit is contained in:
Anthony Sottile
2021-06-20 08:09:18 -07:00
parent a1967e9594
commit ab3cd644dc

View File

@@ -626,7 +626,8 @@ class LoggingPlugin:
finally:
self.log_file_handler.release()
if old_stream:
old_stream.close()
# https://github.com/python/typeshed/pull/5663
old_stream.close() # type:ignore[attr-defined]
def _log_cli_enabled(self):
"""Return whether live logging is enabled."""