diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-25 01:22:15 -0300 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-25 01:22:15 -0300 |
commit | 10abfc8633bac653eda4d346fc051b2f07554dcd (patch) | |
tree | 5208f8249b5b04edca1b2583486e30c11fe3d102 | |
parent | 1a19b607881311e7a30bbedab2bb49fa45019250 (diff) | |
download | pycrypto-10abfc8633bac653eda4d346fc051b2f07554dcd.tar.gz |
Fix error importing winrandom on Python 3
On Python 3, 'import winrandom' cannot be automatically converted to the relative import, so fails. This change fixes that behavior.
-rw-r--r-- | lib/Crypto/Random/OSRNG/nt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/Random/OSRNG/nt.py b/lib/Crypto/Random/OSRNG/nt.py index c1c2f44..40aa495 100644 --- a/lib/Crypto/Random/OSRNG/nt.py +++ b/lib/Crypto/Random/OSRNG/nt.py @@ -25,7 +25,7 @@ __revision__ = "$Id$" __all__ = ['WindowsRNG'] -import winrandom +from Crypto.Random.OSRNG import winrandom from rng_base import BaseRNG class WindowsRNG(BaseRNG): |