diff options
author | Jack Lloyd <[email protected]> | 2018-12-10 06:49:13 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-10 06:49:13 -0500 |
commit | da6fda36e106404482db9cefdc6ef947a160dcb1 (patch) | |
tree | 2178aa52d94acc28329318d574bef91eb27060f8 /src/python/botan2.py | |
parent | 12fba1650b4847b701f3bac1ff12b8ea0b45e70f (diff) |
Fix pylint3 warning [ci skip]
Diffstat (limited to 'src/python/botan2.py')
-rwxr-xr-x | src/python/botan2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/botan2.py b/src/python/botan2.py index 273fe3f46..e90968fa0 100755 --- a/src/python/botan2.py +++ b/src/python/botan2.py @@ -749,7 +749,7 @@ class SymmetricCipher(object): def valid_nonce_length(self, nonce_len): rc = botan.botan_cipher_valid_nonce_length(self.__obj, nonce_len) - return True if rc == 1 else False + return rc == 1 def reset(self): botan.botan_cipher_reset(self.__obj) |