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:
Gregory Szorc 2015-06-25 12:12:39 -07:00
parent 4b8238e9dc
commit 27efb530ff
2 changed files with 7 additions and 2 deletions

View File

@ -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__

View File

@ -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