Mercurial > p > roundup > code
diff roundup/cgi/accept_language.py @ 5488:52cb53eedf77
reworked random number use
prefer secrets module from Python 3.6+, random.SystemRandom and finally plain random
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Sat, 04 Aug 2018 22:40:16 +0100 |
| parents | b00cd44fea16 |
| children | 936275dfe1fa |
