aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-12-06 11:48:35 -0500
committerJack Lloyd <[email protected]>2019-12-06 11:48:35 -0500
commit7ac00751dd66ff6ad22707f9d88a47b4b95a4268 (patch)
treefc493d2ea18253b3a157f69ea135ee44694cdf82
parent56d73170c0d6937c94ed053682048a018bb8ce78 (diff)
Fix some pylint warnings
-rwxr-xr-xsrc/python/botan2.py1
-rw-r--r--src/scripts/test_python.py2
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()