diff options
author | Guido van Rossum <guido@python.org> | 1998-05-20 17:13:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-20 17:13:01 (GMT) |
commit | 6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5 (patch) | |
tree | 07dc4e0ed7584d72e85f9daa4afdad6e0d650d2e /Demo/pdist/security.py | |
parent | b26a1b4e2b99f4473c2133a2206b782a7fa57932 (diff) | |
download | cpython-6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5.zip cpython-6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5.tar.gz cpython-6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5.tar.bz2 |
whrandom -> random
Diffstat (limited to 'Demo/pdist/security.py')
-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 f993682..0ffd511 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 |