Commit 5dc3c2ef authored by Dieter Verfaillie's avatar Dieter Verfaillie Committed by Colin Walters

Use relative imports for the gdbus/codegen package

But not yet for the config module (but is taken care
of in a followup patch).

https://bugzilla.gnome.org/show_bug.cgi?id=650763
parent 0eaec4e5
......@@ -24,8 +24,8 @@
import sys
import config
import utils
import dbustypes
from . import utils
from . import dbustypes
# ----------------------------------------------------------------------------------------------------
......
......@@ -25,9 +25,9 @@ import sys
import re
import config
import utils
import dbustypes
import parser
from . import utils
from . import dbustypes
from . import parser
# ----------------------------------------------------------------------------------------------------
......
......@@ -25,11 +25,11 @@ import sys
import optparse
import config
import utils
import dbustypes
import parser
import codegen
import codegen_docbook
from . import utils
from . import dbustypes
from . import parser
from . import codegen
from . import codegen_docbook
def find_arg(arg_list, arg_name):
for a in arg_list:
......
......@@ -21,7 +21,7 @@
#
# Author: David Zeuthen <davidz@redhat.com>
import utils
from . import utils
class Annotation:
def __init__(self, key, value):
......
......@@ -21,11 +21,11 @@
#
# Author: David Zeuthen <davidz@redhat.com>
import dbustypes
import sys
import xml.parsers.expat
from . import dbustypes
class DBusXMLParser:
STATE_TOP = 'top'
STATE_NODE = 'node'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment