heh, this import will always fail unless we have 'os' handy
This commit is contained in:
Robey Pointer 2006-02-27 19:01:21 -08:00
parent 860edff9f4
commit 90a577c775
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ DISCONNECT_SERVICE_NOT_AVAILABLE, DISCONNECT_AUTH_CANCELLED_BY_USER, \
from Crypto.Util.randpool import PersistentRandomPool, RandomPool
# keep a crypto-strong PRNG nearby
import os
try:
randpool = PersistentRandomPool(os.path.join(os.path.expanduser('~'), '/.randpool'))
except: