summaryrefslogtreecommitdiff
path: root/src/consensus/consensus-simulation.py.in
Commit message (Collapse)AuthorAge
* Fix Python code: remove imports from `python-future`.Hartmut Goebel2019-03-10
| | | | | | | | 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.
* Cleanup Python code: remove `import __future__`.Hartmut Goebel2019-03-10
| | | | | All of these only made Python 2 accept some Python 3 language idioms, and the code is Python-3-only.
* util: futurize consensus/consensus-simulationng02019-02-12
| | | | Signed-off-by: ng0 <ng0@n0.is>
* src: for every AGPL3.0 file, add SPDX identifier.ng02019-01-14
|
* paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX2018-06-05
|
* src/consensus/consensus-simulation: Use past.builtins for xrangeNils Gillmann2018-05-19
| | | | Signed-off-by: Nils Gillmann <ng0@n0.is>
* follow-up, indentation fixes.Nils Gillmann2018-05-17
| | | | Signed-off-by: Nils Gillmann <ng0@n0.is>
* follow-upNils Gillmann2018-05-17
| | | | Signed-off-by: Nils Gillmann <ng0@n0.is>
* 2to3 lint in consensus-simulation, sed the python location.Nils Gillmann2018-05-17
Signed-off-by: Nils Gillmann <ng0@n0.is>