Skip to content

Commit

Permalink
Update log.py
Browse files Browse the repository at this point in the history
Try to fix lint failure with NOQA
  • Loading branch information
earthgecko committed Feb 8, 2024
1 parent 6d67c44 commit fdc56f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carbon/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit fdc56f6

Please sign in to comment.