[gobject-introspection] [scanner] Make it compatible with python 2.y
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [scanner] Make it compatible with python 2.y
- Date: Thu, 22 Jul 2010 17:44:34 +0000 (UTC)
commit 7bcb292e7ff35764a02629213589f304df8b5076
Author: Johan Dahlin <johan gnome org>
Date: Thu Jul 22 14:43:02 2010 -0300
[scanner] Make it compatible with python 2.y
https://bugzilla.gnome.org/show_bug.cgi?id=618562
giscanner/sourcescanner.py | 2 +-
giscanner/xmlwriter.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]