Bug 1466222 - pyflake locales.py r=catlee
☠☠ backed out by 6d83f12c21d3 ☠ ☠
authorJustin Wood <Callek@gmail.com>
Mon, 04 Jun 2018 15:29:05 -0400
changeset 421578 507fe13a38673cdafc0156ff5ab6baed653a5725
parent 421577 3c9e951bdc9e8363bef4df270d0ef01761139cec
child 421579 c71a6be37cfcca8da7e32da37ac09db8092d2f92
push id104068
push userCallek@gmail.com
push dateWed, 06 Jun 2018 14:13:27 +0000
treeherdermozilla-inbound@7bb7694f5d5d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscatlee
bugs1466222
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1466222 - pyflake locales.py r=catlee for "Cleanup l10n mozharness config files." (Batch 2) Differential Revision: https://phabricator.services.mozilla.com/D1547
testing/mozharness/mozharness/mozilla/l10n/locales.py
--- a/testing/mozharness/mozharness/mozilla/l10n/locales.py
+++ b/testing/mozharness/mozharness/mozilla/l10n/locales.py
@@ -3,22 +3,18 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # 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/.
 # ***** END LICENSE BLOCK *****
 """Localization.
 """
 
 import os
-from urlparse import urljoin
 import pprint
 import sys
-from copy import deepcopy
-
-sys.path.insert(1, os.path.dirname(sys.path[0]))
 
 from mozharness.base.config import parse_config_file
 
 
 # LocalesMixin {{{1
 class LocalesMixin(object):
     def __init__(self, **kwargs):
         """ Mixins generally don't have an __init__.