diff options
author | Guido van Rossum <guido@python.org> | 1998-05-20 17:13:01 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-20 17:13:01 +0000 |
commit | 06a923eddbd76905e470a210a8b8b6ddf75db38e (patch) | |
tree | 7f6cc42d56f4603c8cbfe080a1cdc145f5771342 /Demo/pdist | |
parent | 294ea161977abe1d83cefdba1cdfba91297a485b (diff) | |
download | cpython-06a923eddbd76905e470a210a8b8b6ddf75db38e.tar.gz |
whrandom -> random
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-x | Demo/pdist/security.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/pdist/security.py b/Demo/pdist/security.py index f9936828a4..0ffd511a07 100755 --- a/Demo/pdist/security.py +++ b/Demo/pdist/security.py @@ -22,8 +22,8 @@ class Security: raise IOError, "python keyfile %s: cannot open" % keyfile def _generate_challenge(self): - import whrandom - return whrandom.randint(100, 100000) + import random + return random.randint(100, 100000) def _compare_challenge_response(self, challenge, response): return self._encode_challenge(challenge) == response |