gobject-introspection r870 - in trunk: . giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r870 - in trunk: . giscanner
- Date: Fri, 7 Nov 2008 17:49:34 +0000 (UTC)
Author: johan
Date: Fri Nov 7 17:49:33 2008
New Revision: 870
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=870&view=rev
Log:
2008-11-07 Johan Dahlin <jdahlin async com br>
* giscanner/libtoolimporter.py
(LibtoolImporter.load_module): Set module.__loader__ as per PEP 302.
Modified:
trunk/ChangeLog
trunk/giscanner/libtoolimporter.py
Modified: trunk/giscanner/libtoolimporter.py
==============================================================================
--- trunk/giscanner/libtoolimporter.py (original)
+++ trunk/giscanner/libtoolimporter.py Fri Nov 7 17:49:33 2008
@@ -51,6 +51,7 @@
realpath = extract_libtool(self.path)
mod = imp.load_module(name, open(realpath), realpath,
('.so', 'rb', 3))
+ mod.__loader__ = self
return mod
@classmethod
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]