forked from mirrors/gecko-dev
Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
dd8c448c22
commit
2d69e323f1
10 changed files with 9 additions and 8 deletions
|
|
@ -4,6 +4,7 @@
|
|||
# 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
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# 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, print_function
|
||||
from optparse import OptionParser
|
||||
import sys
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
from __future__ import absolute_import, print_function
|
||||
import os
|
||||
import shutil
|
||||
import time
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
from __future__ import absolute_import
|
||||
import BaseHTTPServer
|
||||
from SimpleHTTPServer import SimpleHTTPRequestHandler
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
# 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
|
||||
import textwrap
|
||||
|
||||
from marionette_harness.marionette_test import MarionetteTestCase
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
def test(mod, path, entity=None):
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ script that uses InspectorUtils to query the CSS properties used by the browser.
|
|||
This information is used to generate the properties-db.js file.
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import, print_function
|
||||
import json
|
||||
import os
|
||||
import runpy
|
||||
|
|
|
|||
|
|
@ -3,13 +3,10 @@ py2:
|
|||
description: Python 2 compatibility check
|
||||
include: ['.']
|
||||
exclude:
|
||||
- accessible/xpcom/AccEventGen.py
|
||||
- browser
|
||||
- build
|
||||
- client.py
|
||||
- config
|
||||
- configure.py
|
||||
- devtools/shared/css/generated/mach_commands.py
|
||||
- dom
|
||||
- editor
|
||||
- gfx
|
||||
|
|
@ -47,7 +44,6 @@ py2:
|
|||
- tools/jprof/split-profile.py
|
||||
- tools/lint
|
||||
- tools/mach_commands.py
|
||||
- tools/power/mach_commands.py
|
||||
- tools/profiler
|
||||
- tools/rb
|
||||
- tools/update-packaging
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ py3:
|
|||
include: ['.']
|
||||
exclude:
|
||||
- browser/app
|
||||
- browser/components
|
||||
- browser/extensions
|
||||
- build
|
||||
- client.py
|
||||
- config
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# 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 print_function
|
||||
from __future__ import print_function, absolute_import
|
||||
|
||||
from distutils.version import StrictVersion
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue