diff options
author | Georg Brandl <georg@python.org> | 2009-07-16 21:47:51 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-16 21:47:51 (GMT) |
commit | 3e8b869c9cc051b20a492af55bd3ea82c536bf84 (patch) | |
tree | bef1cfda505faaa694fbc0861ff809f59a67c967 /Lib | |
parent | 3601a38029265c6b594ba39ed4993debdd351e27 (diff) | |
download | cpython-3e8b869c9cc051b20a492af55bd3ea82c536bf84.zip cpython-3e8b869c9cc051b20a492af55bd3ea82c536bf84.tar.gz cpython-3e8b869c9cc051b20a492af55bd3ea82c536bf84.tar.bz2 |
Revert r74028.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/subprocess.py | 4 |
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 |