diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-02-20 03:19:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-02-20 03:19:25 (GMT) |
commit | 4b068190aa4de5ade2d755ee25dbf3d21452616a (patch) | |
tree | c8d3f36e693dbc7c407e5ded530d7ba848b69788 /Lib/os.py | |
parent | 2fc224f0904f398be79e40616cc8a4570375c786 (diff) | |
download | cpython-4b068190aa4de5ade2d755ee25dbf3d21452616a.zip cpython-4b068190aa4de5ade2d755ee25dbf3d21452616a.tar.gz cpython-4b068190aa4de5ade2d755ee25dbf3d21452616a.tar.bz2 |
fix None errno #5312
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -372,8 +372,8 @@ def _execvpe(file, args, env=None): saved_exc = e saved_tb = tb if saved_exc: - raise error(saved_exc).with_traceback(saved_tb) - raise error(last_exc).with_traceback(tb) + raise saved_exc.with_traceback(saved_tb) + raise last_exc.with_traceback(tb) # Change environ to automatically call putenv(), unsetenv if they exist. |