summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-16 21:47:51 (GMT)
committerGeorg Brandl <georg@python.org>2009-07-16 21:47:51 (GMT)
commit3e8b869c9cc051b20a492af55bd3ea82c536bf84 (patch)
treebef1cfda505faaa694fbc0861ff809f59a67c967 /Lib
parent3601a38029265c6b594ba39ed4993debdd351e27 (diff)
downloadcpython-3e8b869c9cc051b20a492af55bd3ea82c536bf84.zip
cpython-3e8b869c9cc051b20a492af55bd3ea82c536bf84.tar.gz
cpython-3e8b869c9cc051b20a492af55bd3ea82c536bf84.tar.bz2
Revert r74028.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 6d46529..6b91f69 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -1066,10 +1066,10 @@ class Popen(object):
gc.disable()
try:
self.pid = os.fork()
- finally:
+ except:
if gc_was_enabled:
gc.enable()
-
+ raise
self._child_created = True
if self.pid == 0:
# Child