From 3e8b869c9cc051b20a492af55bd3ea82c536bf84 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 16 Jul 2009 21:47:51 +0000 Subject: Revert r74028. --- Lib/subprocess.py | 4 ++-- 1 file 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 -- cgit v0.12