зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
8c5dff3ef1
Коммит
eb0ea0288d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче