[caribou] make_schema: s/print/print_/ according to pygobject change



commit 82794781ceff849c98e8db15f9ada9da3b1db472
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Jul 3 18:08:48 2012 +0200

    make_schema: s/print/print_/ according to pygobject change
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=676746.

 tools/make_schema.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/make_schema.py b/tools/make_schema.py
index a6d070f..c75d34c 100755
--- a/tools/make_schema.py
+++ b/tools/make_schema.py
@@ -58,7 +58,7 @@ class SchemasMaker:
             schemalist.appendChild(key)
             self._append_children_element_value_pairs(
                 doc, key, [('default',
-                            getattr(setting.gvariant, "print")(False)),
+                            getattr(setting.gvariant, "print_")(False)),
                            ('_summary', setting.short_desc),
                            ('_description', setting.long_desc)])
 



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