gobject-introspection r191 - trunk/giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r191 - trunk/giscanner
- Date: Mon, 21 Apr 2008 17:36:54 +0100 (BST)
Author: johan
Date: Mon Apr 21 16:36:54 2008
New Revision: 191
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=191&view=rev
Log:
Use relative imports
Modified:
trunk/giscanner/gidlwriter.py
trunk/giscanner/gobjecttreebuilder.py
Modified: trunk/giscanner/gidlwriter.py
==============================================================================
--- trunk/giscanner/gidlwriter.py (original)
+++ trunk/giscanner/gidlwriter.py Mon Apr 21 16:36:54 2008
@@ -1,9 +1,9 @@
from __future__ import with_statement
-from giscanner.gobjecttreebuilder import (GLibEnum, GLibEnumMember, GLibFlags,
- GLibObject)
-from giscanner.treebuilder import Class, Enum, Function
-from giscanner.xmlwriter import XMLWriter
+from .gobjecttreebuilder import (GLibEnum, GLibEnumMember, GLibFlags,
+ GLibObject)
+from .treebuilder import Class, Enum, Function
+from .xmlwriter import XMLWriter
class GIDLWriter(XMLWriter):
Modified: trunk/giscanner/gobjecttreebuilder.py
==============================================================================
--- trunk/giscanner/gobjecttreebuilder.py (original)
+++ trunk/giscanner/gobjecttreebuilder.py Mon Apr 21 16:36:54 2008
@@ -2,9 +2,9 @@
import re
import os
-from giscanner import cgobject
-from giscanner.treebuilder import Class, Enum, Function, Member, Struct
-from giscanner.odict import odict
+from . import cgobject
+from .treebuilder import Class, Enum, Function, Member, Struct
+from .odict import odict
# Copied from h2defs.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]