From 10abfc8633bac653eda4d346fc051b2f07554dcd Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 25 May 2013 01:22:15 -0300 Subject: 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. --- lib/Crypto/Random/OSRNG/nt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1