commit | 46f5d146c157f1a30c48aced22269271bb754b35 | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Fri Oct 28 21:58:56 2011 +0200 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Fri Oct 28 21:58:56 2011 +0200 |
tree | 26d23abbd43aac1af3b9e7e4fe9e746d69111334 | |
parent | 68f71a34f4a799276a50f4001fb0a0ebe2d46992 [diff] [blame] |
Remove no-op code from previous commit.
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index ed107f4..3ec6b4a 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py
@@ -87,10 +87,7 @@ # Fallback. All we need is something that raises OSError if the # file doesn't exist. def _stat(fn): - try: - f = open(fn) - except OSError: - raise OSError + f = open(fn) f.close() def _exists(fn):