From 90a577c775c4a985455e30fbc4bc44f05c61a3e8 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Mon, 27 Feb 2006 19:01:21 -0800 Subject: [PATCH] [project @ robey@lag.net-20060228030121-67362d86a18a352b] heh, this import will always fail unless we have 'os' handy --- paramiko/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/paramiko/common.py b/paramiko/common.py index e349e05..3c1bc16 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: