summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/common.py b/paramiko/common.py
index e349e058..3c1bc161 100644
--- a/paramiko/common.py
+++ b/paramiko/common.py
@@ -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: