diff options
author | Jack Lloyd <[email protected]> | 2019-12-06 11:48:35 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-12-06 11:48:35 -0500 |
commit | 7ac00751dd66ff6ad22707f9d88a47b4b95a4268 (patch) | |
tree | fc493d2ea18253b3a157f69ea135ee44694cdf82 /src | |
parent | 56d73170c0d6937c94ed053682048a018bb8ce78 (diff) |
Fix some pylint warnings
Diffstat (limited to 'src')
-rwxr-xr-x | src/python/botan2.py | 1 | ||||
-rw-r--r-- | src/scripts/test_python.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/python/botan2.py b/src/python/botan2.py index 01fd4daf8..87255d8c1 100755 --- a/src/python/botan2.py +++ b/src/python/botan2.py @@ -1395,6 +1395,7 @@ class X509Cert(object): # pylint: disable=invalid-name hostname=None, reference_time=0, crls=None): + #pylint: disable=too-many-locals if intermediates is not None: c_intermediates = len(intermediates) * c_void_p diff --git a/src/scripts/test_python.py b/src/scripts/test_python.py index 40a5b6573..775b8ea79 100644 --- a/src/scripts/test_python.py +++ b/src/scripts/test_python.py @@ -17,7 +17,7 @@ def hex_decode(buf): return binascii.unhexlify(buf.encode('ascii')) class BotanPythonTests(unittest.TestCase): - # pylint: disable=too-many-public-methods + # pylint: disable=too-many-public-methods,too-many-locals def test_version(self): version_str = botan2.version_string() |