[arch-commits] Commit in gobject-introspection/trunk (python2.7-compat.patch)

Rémy Oudompheng remy at archlinux.org
Thu Sep 2 12:13:58 UTC 2010


    Date: Thursday, September 2, 2010 @ 08:13:57
  Author: remy
Revision: 89596

upgpkg: gobject-introspection 0.6.14-2
Forgotten file.

Added:
  gobject-introspection/trunk/python2.7-compat.patch

------------------------+
 python2.7-compat.patch |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Added: python2.7-compat.patch
===================================================================
--- python2.7-compat.patch	                        (rev 0)
+++ python2.7-compat.patch	2010-09-02 12:13:57 UTC (rev 89596)
@@ -0,0 +1,26 @@
+diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
+index acfc048..ae3d29d 100644
+--- a/giscanner/sourcescanner.py
++++ b/giscanner/sourcescanner.py
+@@ -196,7 +196,7 @@ class SourceSymbol(object):
+ class SourceScanner(object):
+ 
+     def __init__(self):
+-        with LibtoolImporter:
++        with LibtoolImporter(None, None):
+             from giscanner._giscanner import SourceScanner
+         self._scanner = SourceScanner()
+         self._filenames = []
+diff --git a/giscanner/xmlwriter.py b/giscanner/xmlwriter.py
+index 0db286b..c10bcc6 100644
+--- a/giscanner/xmlwriter.py
++++ b/giscanner/xmlwriter.py
+@@ -67,7 +67,7 @@ def collect_attributes(tag_name, attributes, self_indent,
+     return attr_value
+ 
+ 
+-with LibtoolImporter:
++with LibtoolImporter(None, None):
+     from giscanner._giscanner import collect_attributes
+ 
+




More information about the arch-commits mailing list