diff options
author | toonn <toonn@toonn.io> | 2022-02-05 16:41:02 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2022-02-05 16:41:02 +0100 |
commit | 035eecbcfb0f1812d695a53b0929b3c6500f83ed (patch) | |
tree | 77a612653a140ba9c1be2338e8f72b70ad5cd7f1 /doc/tools/convert_papermode_to_metadata.py | |
parent | 6c21d145298da1e5a05bb220d1a3c1973ebefac3 (diff) | |
parent | 8372a7602d93eb7fc3d18c8ac071ea9cd6349501 (diff) | |
download | ranger-035eecbcfb0f1812d695a53b0929b3c6500f83ed.tar.gz |
Merge branch 'pylint'
Diffstat (limited to 'doc/tools/convert_papermode_to_metadata.py')
-rwxr-xr-x | doc/tools/convert_papermode_to_metadata.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/tools/convert_papermode_to_metadata.py b/doc/tools/convert_papermode_to_metadata.py index 58371193..0a1b21ce 100755 --- a/doc/tools/convert_papermode_to_metadata.py +++ b/doc/tools/convert_papermode_to_metadata.py @@ -39,7 +39,6 @@ def replace(source, target): result = {} # Read the input file and convert it to a dictionary - # pylint: disable=unspecified-encoding with open(".paperinfo", "r") as infile: reader = csv.reader(infile, skipinitialspace=True) for lineno, row in enumerate(reader): @@ -62,7 +61,6 @@ def replace(source, target): if result: # There's no way to specify encoding in 2.x even though in this case we # could choose to write in UTF-8. - # pylint: disable=unspecified-encoding with open(".metadata.json", "w") as outfile: json.dump(result, outfile, indent=2) else: |