summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-01-03 10:50:58 -0500
committerColin Walters <walters@verbum.org>2010-01-12 16:22:26 -0500
commit95376a93bc6df5a1385e719b6a37304ba6925c72 (patch)
tree08d6b5d4d2dd68bad13b4d6ca599d5e3b6c5c198
parent816bb4f0a3f62443b24ac6d60b86addc6912f7fc (diff)
downloadgobject-introspection-95376a93bc6df5a1385e719b6a37304ba6925c72.tar.gz
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
-rw-r--r--giscanner/dumper.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 460054ca..14540d93 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