]> git.ipfire.org Git - thirdparty/bind9.git/commit
Explicitly specify encoding for open() calls
authorMichał Kępień <michal@isc.org>
Thu, 16 Sep 2021 06:22:01 +0000 (08:22 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 16 Sep 2021 06:55:15 +0000 (08:55 +0200)
commit7d6c2b9e48d8fc2509971ef8d8da300522b12c0e
treeb0ea9610424bb0eee9ab5dc503ee3f2504c6bfc0
parentf9c69511900b2691e09b38ed1d7b8592ae8d9266
Explicitly specify encoding for open() calls

Address the following warnings reported by PyLint 2.10.2:

    ************* Module tests-checkds
    bin/tests/system/checkds/tests-checkds.py:70:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    bin/tests/system/checkds/tests-checkds.py:120:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    bin/tests/system/checkds/tests-checkds.py:206:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ************* Module yamlget
    bin/tests/system/digdelv/yamlget.py:22:5: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)

(cherry picked from commit 6a4b8b145620a6532d334e26fd12427e9b9c7b8c)
bin/tests/system/checkds/tests-checkds.py
bin/tests/system/digdelv/yamlget.py