mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00: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. --HG-- extra : commitid : AhreLXsUlhA extra : rebase_source : adca67eb99930afbe2d41a55261ce0d3600f315b
This commit is contained in:
parent
4b8238e9dc
commit
27efb530ff
@ -2,6 +2,8 @@
|
||||
# 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/.
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
"""
|
||||
interface to transform introspected system information to a format palatable to
|
||||
Mozilla
|
||||
@ -51,6 +53,7 @@ Module variables:
|
||||
|
||||
"""
|
||||
|
||||
import mozinfo
|
||||
from mozinfo import *
|
||||
from . import mozinfo
|
||||
from .mozinfo import *
|
||||
|
||||
__all__ = mozinfo.__all__
|
||||
|
@ -8,6 +8,8 @@
|
||||
# linux) to the information; I certainly wouldn't want anyone parsing this
|
||||
# information and having behaviour depend on it
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import os
|
||||
import platform
|
||||
import re
|
||||
|
Loading…
Reference in New Issue
Block a user