From a5f134e27a71069d4c71b2011f6bc8958ddd073d Mon Sep 17 00:00:00 2001 From: Willy Njundong Date: Sun, 24 Feb 2019 14:43:33 -0500 Subject: [PATCH] Update ed25519.py --- deploy/ansible/roles/iroha-k8s/files/scripts/ed25519.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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