diff options
author | toonn <toonn@toonn.io> | 2021-08-27 19:48:51 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-08-27 19:48:51 +0200 |
commit | 7d7f31cd7238eb97ac76b11effd207689af7181a (patch) | |
tree | 36831e6a7a8d923d674faf31c5537fbe6238c5f2 | |
parent | fde846ec4f39ef9660e1a6a82b147aa3dbf38b0c (diff) | |
download | ranger-7d7f31cd7238eb97ac76b11effd207689af7181a.tar.gz |
open23: Disable lint for py2 open
-rw-r--r-- | ranger/ext/open23.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/open23.py b/ranger/ext/open23.py index 14faf32b..d5320fa3 100644 --- a/ranger/ext/open23.py +++ b/ranger/ext/open23.py @@ -39,8 +39,10 @@ def open23( ) else: if buffering is None: + # pylint: disable=unspecified-encoding fobj = open(name=file, mode=mode) else: + # pylint: disable=unspecified-encoding fobj = open(name=file, mode=mode, buffering=buffering) try: yield fobj |