diff --git a/deploy/ansible/roles/iroha-k8s/files/scripts/ed25519.py b/deploy/ansible/roles/iroha-k8s/files/scripts/ed25519.py index 4500f4e0f2..25d1ea2f3e 100644 --- a/deploy/ansible/roles/iroha-k8s/files/scripts/ed25519.py +++ b/deploy/ansible/roles/iroha-k8s/files/scripts/ed25519.py @@ -1,14 +1,13 @@ #!/usr/env/python3 -from builtins import chr +import builtins from past.utils import old_div -import sys +import sys, os if sys.version_info < (3, 6): from sha3 import sha3_512 as SHA3512 else: import hashlib -import sys, os python_version = sys.version_info.major b = 256