summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-29 18:47:31 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-29 18:47:31 (GMT)
commit45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210 (patch)
tree69ad963a6e6ce8672607fee609f8f9101e0a7b63 /Lib/os.py
parenta28b3e6dfb399a6107b717d78bc81ef6be80f123 (diff)
downloadcpython-45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210.zip
cpython-45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210.tar.gz
cpython-45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 86b3566..22f25a3 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -658,17 +658,17 @@ except NameError: # statvfs_result may not exist
pass
if not _exists("urandom"):
- _urandomfd = None
+ _urandomfd = None
def urandom(n):
"""urandom(n) -> str
-
+
Return a string of n random bytes suitable for cryptographic use.
- """
+ """
global _urandomfd
if not _urandomfd:
try:
- _urandomfd = open("/dev/urandom", O_RDONLY)
+ _urandomfd = open("/dev/urandom", O_RDONLY)
except:
_urandomfd = NotImplementedError
if _urandomfd is NotImplementedError: