From fdc56f65365987343a1cc6d3b9ce94ba1a147163 Mon Sep 17 00:00:00 2001 From: earthgecko <96679+earthgecko@users.noreply.github.com> Date: Thu, 8 Feb 2024 09:19:24 +0000 Subject: [PATCH] Update log.py Try to fix lint failure with NOQA --- lib/carbon/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/carbon/log.py b/lib/carbon/log.py index 6fcd051c..7a7ef6cc 100644 --- a/lib/carbon/log.py +++ b/lib/carbon/log.py @@ -20,7 +20,7 @@ def _openFile(self): Fix Umask Issue https://twistedmatrix.com/trac/ticket/7026 """ openMode = self.defaultMode or 0o777 - # Fix >= Python3.8 raises RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode + # Fix >= Python3.8 raises RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode # NOQA python_version = '%s.%s.%s' % (str(version_info[0]), str(version_info[1]), str(version_info[2])) use_buffering = 0 if python_version < '3.8.0':