]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revert r74028.
authorGeorg Brandl <georg@python.org>
Thu, 16 Jul 2009 21:47:51 +0000 (21:47 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 16 Jul 2009 21:47:51 +0000 (21:47 +0000)
Lib/subprocess.py

index 6d4652981c82149d99c896c38bb8f85f34ce9038..6b91f69f8caff379a2454f9c8406d27c1b060a00 100644 (file)
@@ -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