commit | bb09b212505a70a2b9f43ee2df6dd3ddb09776c1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Mar 18 03:36:28 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Mar 18 03:36:28 2007 +0000 |
tree | 263c780a8f0b23db50b71e17babee588b1f4ec2c | |
parent | c819dea40d58f84c61d7d1129d340700e20b9d74 [diff] |
Bug 1679498: unset variable 'bs'.
diff --git a/Lib/io.py b/Lib/io.py index e4e6759..59c4b06 100644 --- a/Lib/io.py +++ b/Lib/io.py
@@ -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: