From 95376a93bc6df5a1385e719b6a37304ba6925c72 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sun, 3 Jan 2010 10:50:58 -0500 Subject: [PATCH] Don't remove .c file for dumper binary We're going to remove the entire temporary directory, so there's no point in explicitly removing just the .c file we create; leaving the .c file behind makes it easier to debug problems. https://bugzilla.gnome.org/show_bug.cgi?id=605966 --- giscanner/dumper.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/giscanner/dumper.py b/giscanner/dumper.py index 460054c..14540d9 100644 --- a/giscanner/dumper.py +++ b/giscanner/dumper.py @@ -133,8 +133,6 @@ class DumpCompiler(object): except LinkerError, e: raise SystemExit('ERROR: ' + str(e)) - os.unlink(c_path) - return IntrospectionBinary([bin_path], self._tmpdir) # Private API -- 2.39.2