From eb0ea0288dcf3d6232e50a64dff364e05d7ee69e Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Mon, 4 Jun 2018 14:04:35 -0400 Subject: [PATCH] Bug 1466222 - Noqa the pythonpath magic to avoid warnings about module imports not being first r=catlee for "Cleanup l10n mozharness config files." (Batch 2) Differential Revision: https://phabricator.services.mozilla.com/D1540 --HG-- extra : source : 9250705be918a4e8a9ee35e353f42c048d5f1a15 --- testing/mozharness/scripts/desktop_l10n.py | 2 +- testing/mozharness/scripts/mobile_l10n.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/mozharness/scripts/desktop_l10n.py b/testing/mozharness/scripts/desktop_l10n.py index 8a5c4eb465af..f41360c9aedc 100755 --- a/testing/mozharness/scripts/desktop_l10n.py +++ b/testing/mozharness/scripts/desktop_l10n.py @@ -15,7 +15,7 @@ import sys import shlex # load modules from parent dir -sys.path.insert(1, os.path.dirname(sys.path[0])) +sys.path.insert(1, os.path.dirname(sys.path[0])) # noqa from mozharness.base.errors import MakefileErrorList from mozharness.base.script import BaseScript diff --git a/testing/mozharness/scripts/mobile_l10n.py b/testing/mozharness/scripts/mobile_l10n.py index 502d2da0fd63..341ccc49a6b8 100755 --- a/testing/mozharness/scripts/mobile_l10n.py +++ b/testing/mozharness/scripts/mobile_l10n.py @@ -22,7 +22,7 @@ except ImportError: import json # load modules from parent dir -sys.path.insert(1, os.path.dirname(sys.path[0])) +sys.path.insert(1, os.path.dirname(sys.path[0])) # noqa from mozharness.base.errors import MakefileErrorList from mozharness.base.log import OutputParser