mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use relative import statements to be compatible with Python3
This commit is contained in:
parent
865d7377b3
commit
bed6f2dbec
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ import zipfile
|
||||||
from xml.etree.ElementTree import XML
|
from xml.etree.ElementTree import XML
|
||||||
from servo.util import download_file
|
from servo.util import download_file
|
||||||
import six.moves.urllib as urllib
|
import six.moves.urllib as urllib
|
||||||
from bootstrap import check_gstreamer_lib
|
from .bootstrap import check_gstreamer_lib
|
||||||
|
|
||||||
from mach.decorators import CommandArgument
|
from mach.decorators import CommandArgument
|
||||||
from mach.registrar import Registrar
|
from mach.registrar import Registrar
|
||||||
|
|
|
@ -24,7 +24,7 @@ import colorama
|
||||||
import toml
|
import toml
|
||||||
import voluptuous
|
import voluptuous
|
||||||
import yaml
|
import yaml
|
||||||
from licenseck import OLD_MPL, MPL, APACHE, COPYRIGHT, licenses_toml, licenses_dep_toml
|
from .licenseck import OLD_MPL, MPL, APACHE, COPYRIGHT, licenses_toml, licenses_dep_toml
|
||||||
from six import iteritems
|
from six import iteritems
|
||||||
topdir = os.path.abspath(os.path.dirname(sys.argv[0]))
|
topdir = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||||
wpt = os.path.join(topdir, "tests", "wpt")
|
wpt = os.path.join(topdir, "tests", "wpt")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue