diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2006-03-23 22:24:03 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2006-03-23 22:24:03 +0000 |
commit | 96fe98e1c6bc0301781b0dd7dbfeef3e3f137f43 (patch) | |
tree | 7650cfe102643b74d6ad1d3efe1771281b5e66f0 /devel/bzr/files/patch-bzrlib_osutils.py | |
parent | 503c7f7052756548d3712a6b0f3fb6d32ddbb8e9 (diff) |
Diffstat (limited to 'devel/bzr/files/patch-bzrlib_osutils.py')
-rw-r--r-- | devel/bzr/files/patch-bzrlib_osutils.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/devel/bzr/files/patch-bzrlib_osutils.py b/devel/bzr/files/patch-bzrlib_osutils.py deleted file mode 100644 index 89bf04814851..000000000000 --- a/devel/bzr/files/patch-bzrlib_osutils.py +++ /dev/null @@ -1,15 +0,0 @@ ---- bzrlib/osutils.py.orig Fri Oct 28 11:30:13 2005 -+++ bzrlib/osutils.py Fri Oct 28 11:30:38 2005 -@@ -448,10 +448,10 @@ - except (NotImplementedError, AttributeError): - # If python doesn't have os.urandom, or it doesn't work, - # then try to first pull random data from /dev/urandom -- if os.path.exists("/dev/urandom"): -+ try: - rand_bytes = file('/dev/urandom', 'rb').read - # Otherwise, use this hack as a last resort -- else: -+ except: - # not well seeded, but better than nothing - def rand_bytes(n): - import random |