[gobject-introspection] Print the command line instead of a python list



commit 0a22a0b3190df11944bc4b4848c8b4b1463eb7de
Author: Johan Dahlin <johan gnome org>
Date:   Fri Jul 9 10:20:59 2010 -0300

    Print the command line instead of a python list

 giscanner/dumper.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 78b44e5..505465e 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -173,7 +173,7 @@ class DumpCompiler(object):
                     "Could not find c source file: %s" % (source, ))
         args.extend(list(sources))
         if not self._options.quiet:
-            print "g-ir-scanner: compile: %r" % (args, )
+            print "g-ir-scanner: compile: %r" % (' '.join(args), )
         subprocess.check_call(args)
 
     def _link(self, output, *sources):
@@ -231,7 +231,7 @@ class DumpCompiler(object):
         args.extend(list(sources))
 
         if not self._options.quiet:
-            print "g-ir-scanner: link: %r" % (args, )
+            print "g-ir-scanner: link: %r" % (' '.join(args), )
         subprocess.check_call(args)
 
 



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