1
0
Fork 0
satnogs-network/network/base/templatetags
Fabian P. Schmidt e1ed302e64 utils/drifted_frq: Use python3 round builtin (W1633)
This changes the used rounding strategy.

See "Whats new in python3"[1] for more details:
> Exact halfway cases are now rounded to the nearest even result
> instead of away from zero.
> (For example, round(2.5) now returns 2 rather than 3.)

Fixes round-builtin (W1633) pylint error.

[1]: https://docs.python.org/3/whatsnew/3.0.html#builtins

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2020-01-04 15:31:05 +01:00
..
__init__.py Refactor project 2014-12-19 15:06:58 +02:00
paginator.py Add absolute_import to all relevant files (W1618) 2019-12-31 08:51:04 +00:00
tags.py utils/drifted_frq: Use python3 round builtin (W1633) 2020-01-04 15:31:05 +01:00
url_replace.py Add absolute_import to all relevant files (W1618) 2019-12-31 08:51:04 +00:00