diff options
Diffstat (limited to 'textproc/py-4suite/patches/patch-aa')
-rw-r--r-- | textproc/py-4suite/patches/patch-aa | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/py-4suite/patches/patch-aa b/textproc/py-4suite/patches/patch-aa new file mode 100644 index 00000000000..de5a782c44d --- /dev/null +++ b/textproc/py-4suite/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/20 14:09:45 drochner Exp $ + +--- Ft/Lib/DistExt/BuildDocs.py.orig Thu Aug 8 16:37:08 2002 ++++ Ft/Lib/DistExt/BuildDocs.py Thu Aug 8 16:37:18 2002 +@@ -128,12 +128,15 @@ + try: + from distutils.spawn import spawn + spawn([sys.executable, script_name], verbose=self.verbose) +- finally: +- try: os.remove(script_name) +- except: pass ++ except: ++ pass ++ ++ try: os.remove(script_name) ++ except: pass + +- self.outfiles.extend(eval(open(outputs_name).read())) +- try: os.remove(outputs_name) ++ try: ++ self.outfiles.extend(eval(open(outputs_name).read())) ++ os.remove(outputs_name) + except: pass + return + |