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:
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to