[Telepathy-commits] [telepathy-glib/master] glib-interfaces-gen.py: Write the copyright to the file and not stdout.

Jonny Lamb jonny.lamb at collabora.co.uk
Mon Feb 23 04:17:27 PST 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 tools/glib-interfaces-gen.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/glib-interfaces-gen.py b/tools/glib-interfaces-gen.py
index 47d17b5..9b23764 100644
--- a/tools/glib-interfaces-gen.py
+++ b/tools/glib-interfaces-gen.py
@@ -27,8 +27,8 @@ class Generator(object):
             file.write(' version ' + get_descendant_text(version))
         file.write('\n\n')
         for copyright in get_by_path(self.spec, 'copyright'):
-            stdout.write(get_descendant_text(copyright))
-            stdout.write('\n')
+            file.write(get_descendant_text(copyright))
+            file.write('\n')
         file.write('\n')
         file.write(get_descendant_text(get_by_path(self.spec, 'license')))
         file.write(get_descendant_text(get_by_path(self.spec, 'docstring')))
-- 
1.5.6.5



More information about the telepathy-commits mailing list