[gobject-introspection] Don't remove .c file for dumper binary



commit 95376a93bc6df5a1385e719b6a37304ba6925c72
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sun Jan 3 10:50:58 2010 -0500

    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 files changed, 0 insertions(+), 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]