mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1176642 - Use absolute_import in mozinfo; r=chmanchester
absolute_import was introduced in Python 2.6. There should be no backwards compatibility concern here.
This commit is contained in:
parent
3e56f45d4a
commit
fb5ea3afd6
@ -2,6 +2,8 @@
|
|||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||||
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
|
|
||||||
"""
|
"""
|
||||||
interface to transform introspected system information to a format palatable to
|
interface to transform introspected system information to a format palatable to
|
||||||
Mozilla
|
Mozilla
|
||||||
@ -51,6 +53,7 @@ Module variables:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import mozinfo
|
from . import mozinfo
|
||||||
from mozinfo import *
|
from .mozinfo import *
|
||||||
|
|
||||||
__all__ = mozinfo.__all__
|
__all__ = mozinfo.__all__
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
# linux) to the information; I certainly wouldn't want anyone parsing this
|
# linux) to the information; I certainly wouldn't want anyone parsing this
|
||||||
# information and having behaviour depend on it
|
# information and having behaviour depend on it
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
import re
|
import re
|
||||||
|
Loading…
Reference in New Issue
Block a user