diff options
Diffstat (limited to 'kpov_judge/kpov_random_helpers.py')
-rwxr-xr-x | kpov_judge/kpov_random_helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/kpov_random_helpers.py b/kpov_judge/kpov_random_helpers.py index 0a25d00..fc422fa 100755 --- a/kpov_judge/kpov_random_helpers.py +++ b/kpov_judge/kpov_random_helpers.py @@ -119,7 +119,7 @@ default_generators = { 'username': username_gen, 'password': lambda r: alnum_gen(r, 8), 'short_text': lambda r: fortune(r, 40), - 'uint': lambda r: r.nextint(0, 2**32), + 'uint': lambda r: r.randint(0, 2**32), 'hostname': lambda r: hostname_gen(r), None: lambda r: alnum_gen(r, 8), '': unknown_generator, |