diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-25 01:22:15 -0300 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2016-04-01 23:51:21 -0700 |
commit | 9abcbc10f83c920db2823ce511e45a9f119aff0b (patch) | |
tree | bc482c182f0343ed3221b8fe069bd6ff9abc7f9a | |
parent | 5fe2290b09d058d02670a8acf89a1bddef79fe5b (diff) | |
download | pycrypto-9abcbc10f83c920db2823ce511e45a9f119aff0b.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): |