From 4deae01fba7218d3e31cc008e390c392ea9a2238 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 10 Mar 2019 19:46:23 +0100 Subject: Cleanup Python code: remove `import __future__`. All of these only made Python 2 accept some Python 3 language idioms, and the code is Python-3-only. --- src/consensus/consensus-simulation.py.in | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/consensus/consensus-simulation.py.in') diff --git a/src/consensus/consensus-simulation.py.in b/src/consensus/consensus-simulation.py.in index 161015d00..23639b195 100644 --- a/src/consensus/consensus-simulation.py.in +++ b/src/consensus/consensus-simulation.py.in @@ -17,9 +17,6 @@ # # SPDX-License-Identifier: AGPL3.0-or-later -from __future__ import absolute_import -from __future__ import print_function -from __future__ import division from builtins import str from builtins import range from past.utils import old_div @@ -49,8 +46,6 @@ def simulate(k, n, verbose): print("we have", num_ghosts, "ghost peers") # n.b. all peers with idx