diff options
author | Jack Lloyd <[email protected]> | 2018-03-10 16:57:16 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-10 16:58:01 -0500 |
commit | 21634bbeb35cea89b9f41f7e39e1e651406c5a9f (patch) | |
tree | f84571f18dbb3b691a60d5ab428f9f7d2900535f /src/scripts | |
parent | 5a062118ef5e4c508caa67fc8c3a38a7e1db069f (diff) |
Make lint happy [ci skip]
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/test_python.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/test_python.py b/src/scripts/test_python.py index aad6b212b..d3e6cafd7 100644 --- a/src/scripts/test_python.py +++ b/src/scripts/test_python.py @@ -6,9 +6,9 @@ Botan is released under the Simplified BSD License (see license.txt) """ -import botan2 import sys import binascii +import botan2 def hex_encode(buf): return binascii.hexlify(buf).decode('ascii') @@ -237,7 +237,7 @@ def test(): for field in dn_fields: try: print("%s: %s" % (field, cert.subject_dn(field, 0))) - except BotanException: + except botan2.BotanException: print("Field: %s not found in certificate" % field) print(cert.to_string()) |