зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1639151 Convert |mach release-history| and nightly history population to py3 r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D75919
This commit is contained in:
Родитель
7a02048e02
Коммит
434afc08e6
1
mach
1
mach
|
@ -47,7 +47,6 @@ py2commands="
|
|||
raptor-test
|
||||
reftest
|
||||
release
|
||||
release-history
|
||||
remote
|
||||
repackage
|
||||
rusttests
|
||||
|
|
|
@ -4,12 +4,14 @@
|
|||
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
||||
import requests
|
||||
import redo
|
||||
|
||||
import logging
|
||||
|
||||
from taskgraph.util.scriptworker import BALROG_SCOPE_ALIAS_TO_PROJECT, BALROG_SERVER_SCOPES
|
||||
import requests
|
||||
import six
|
||||
|
||||
import redo
|
||||
from taskgraph.util.scriptworker import (BALROG_SCOPE_ALIAS_TO_PROJECT,
|
||||
BALROG_SERVER_SCOPES)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -126,7 +128,7 @@ def get_partials_info_from_params(release_history, platform, locale):
|
|||
def _retry_on_http_errors(url, verify, params, errors):
|
||||
if params:
|
||||
params_str = "&".join("=".join([k, str(v)])
|
||||
for k, v in params.iteritems())
|
||||
for k, v in six.iteritems(params))
|
||||
else:
|
||||
params_str = ''
|
||||
logger.info("Connecting to %s?%s", url, params_str)
|
||||
|
|
Загрузка…
Ссылка в новой задаче