mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02:00
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
This commit is contained in:
parent
0eaec4e59a
commit
5dc3c2efc8
@ -24,8 +24,8 @@
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import config
|
import config
|
||||||
import utils
|
from . import utils
|
||||||
import dbustypes
|
from . import dbustypes
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@ import sys
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
import config
|
import config
|
||||||
import utils
|
from . import utils
|
||||||
import dbustypes
|
from . import dbustypes
|
||||||
import parser
|
from . import parser
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -25,11 +25,11 @@ import sys
|
|||||||
import optparse
|
import optparse
|
||||||
|
|
||||||
import config
|
import config
|
||||||
import utils
|
from . import utils
|
||||||
import dbustypes
|
from . import dbustypes
|
||||||
import parser
|
from . import parser
|
||||||
import codegen
|
from . import codegen
|
||||||
import codegen_docbook
|
from . import codegen_docbook
|
||||||
|
|
||||||
def find_arg(arg_list, arg_name):
|
def find_arg(arg_list, arg_name):
|
||||||
for a in arg_list:
|
for a in arg_list:
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#
|
#
|
||||||
# Author: David Zeuthen <davidz@redhat.com>
|
# Author: David Zeuthen <davidz@redhat.com>
|
||||||
|
|
||||||
import utils
|
from . import utils
|
||||||
|
|
||||||
class Annotation:
|
class Annotation:
|
||||||
def __init__(self, key, value):
|
def __init__(self, key, value):
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
#
|
#
|
||||||
# Author: David Zeuthen <davidz@redhat.com>
|
# Author: David Zeuthen <davidz@redhat.com>
|
||||||
|
|
||||||
import dbustypes
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import xml.parsers.expat
|
import xml.parsers.expat
|
||||||
|
|
||||||
|
from . import dbustypes
|
||||||
|
|
||||||
class DBusXMLParser:
|
class DBusXMLParser:
|
||||||
STATE_TOP = 'top'
|
STATE_TOP = 'top'
|
||||||
STATE_NODE = 'node'
|
STATE_NODE = 'node'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user