summaryrefslogtreecommitdiff
path: root/kpov_judge/kpov_random_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/kpov_random_helpers.py')
-rwxr-xr-xkpov_judge/kpov_random_helpers.py2
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,