зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1636006 - Restore py2 compatibility in xpidl.py. r=froydnj
This file is used by the searchfox indexer using python2, so maintaining py2-compatibility is desirable if not unduly burdensome. Differential Revision: https://phabricator.services.mozilla.com/D74224
This commit is contained in:
Родитель
467f6725fc
Коммит
23c0fd760e
|
@ -7,7 +7,14 @@
|
|||
|
||||
"""A parser for cross-platform IDL (XPIDL) files."""
|
||||
|
||||
# Note that this file is used by the searchfox indexer in ways that are
|
||||
# not tested in Firefox's CI. Please try to keep this file py2-compatible
|
||||
# if the burden for that is low. If you are making changes you know to be
|
||||
# incompatible with py2, please give a searchfox maintainer a heads-up so
|
||||
# that any necessary changes can be made on the searchfox side.
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
|
|
Загрузка…
Ссылка в новой задаче