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