summaryrefslogtreecommitdiff
path: root/src/consensus/consensus-simulation.py.in
AgeCommit message (Collapse)Author
2019-12-02rewrite sed logic used in Makefiles and move into dosubst awk script.ng0
include 'bin' and its files in dist files, this is where dosubst is located. While the invocation (passing of the variables) is not optimal (yet, will be changed), this will in the end allow sharing code between Makefiles better, and maybe drop sed usage in the future.
2019-10-12format pythonng0
2019-03-10Fix Python code: remove imports from `python-future`.Hartmut Goebel
I missed in 3d6ba937a5a5046b3d531c17691d5d1155daae71 that `future` also provides the modules `past` and `builtins`. Imports of `builtins` can simply be removed for Python-3-only code. `past.old_div` had to be replaces by the "old" div-operatot `//`, while `past.xrange` was unused.
2019-03-10Cleanup Python code: remove `import __future__`.Hartmut Goebel
All of these only made Python 2 accept some Python 3 language idioms, and the code is Python-3-only.
2019-02-12util: futurize consensus/consensus-simulationng0
Signed-off-by: ng0 <ng0@n0.is>
2019-01-14src: for every AGPL3.0 file, add SPDX identifier.ng0
2018-06-07paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX
2018-06-07glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX
2018-06-05first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX
2018-05-19src/consensus/consensus-simulation: Use past.builtins for xrangeNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-17follow-up, indentation fixes.Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-17follow-upNils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>
2018-05-172to3 lint in consensus-simulation, sed the python location.Nils Gillmann
Signed-off-by: Nils Gillmann <ng0@n0.is>