Magellan Linux

Annotation of /trunk/gobject-introspection/patches/gobject-introspection-0.6.14-python27.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1117 - (hide annotations) (download)
Sun Aug 22 19:49:12 2010 UTC (13 years, 9 months ago) by niro
File size: 1247 byte(s)
-added python27 patch
1 niro 1117 From 7bcb292e7ff35764a02629213589f304df8b5076 Mon Sep 17 00:00:00 2001
2     From: Johan Dahlin <johan@gnome.org>
3     Date: Thu, 22 Jul 2010 14:43:02 -0300
4     Subject: [PATCH] [scanner] Make it compatible with python 2.y
5    
6     https://bugzilla.gnome.org/show_bug.cgi?id=618562
7     ---
8     giscanner/sourcescanner.py | 2 +-
9     giscanner/xmlwriter.py | 2 +-
10     2 files changed, 2 insertions(+), 2 deletions(-)
11    
12     diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
13     index acfc048..ae3d29d 100644
14     --- a/giscanner/sourcescanner.py
15     +++ b/giscanner/sourcescanner.py
16     @@ -196,7 +196,7 @@ class SourceSymbol(object):
17     class SourceScanner(object):
18    
19     def __init__(self):
20     - with LibtoolImporter:
21     + with LibtoolImporter(None, None):
22     from giscanner._giscanner import SourceScanner
23     self._scanner = SourceScanner()
24     self._filenames = []
25     diff --git a/giscanner/xmlwriter.py b/giscanner/xmlwriter.py
26     index 0db286b..c10bcc6 100644
27     --- a/giscanner/xmlwriter.py
28     +++ b/giscanner/xmlwriter.py
29     @@ -67,7 +67,7 @@ def collect_attributes(tag_name, attributes, self_indent,
30     return attr_value
31    
32    
33     -with LibtoolImporter:
34     +with LibtoolImporter(None, None):
35     from giscanner._giscanner import collect_attributes
36    
37    
38     --
39     1.7.0.4