[Python-3000-checkins] r54424 - python/branches/p3yk/Lib/io.py
guido.van.rossum
python-3000-checkins at python.org
Sun Mar 18 04:36:37 CET 2007
Author: guido.van.rossum
Date: Sun Mar 18 04:36:28 2007
New Revision: 54424
Modified:
python/branches/p3yk/Lib/io.py
Log:
Bug 1679498: unset variable 'bs'.
Modified: python/branches/p3yk/Lib/io.py
==============================================================================
--- python/branches/p3yk/Lib/io.py (original)
+++ python/branches/p3yk/Lib/io.py Sun Mar 18 04:36:28 2007
@@ -91,6 +91,8 @@
try:
bs = os.fstat(raw.fileno()).st_blksize
except (os.error, AttributeError):
+ pass
+ else:
if bs > 1:
buffering = bs
if buffering < 0:
More information about the Python-3000-checkins
mailing list