diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-08-29 18:47:31 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-08-29 18:47:31 (GMT) |
commit | 45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210 (patch) | |
tree | 69ad963a6e6ce8672607fee609f8f9101e0a7b63 /Lib/os.py | |
parent | a28b3e6dfb399a6107b717d78bc81ef6be80f123 (diff) | |
download | cpython-45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210.zip cpython-45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210.tar.gz cpython-45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |