This fixes all the warnings emitted by flake8, mostly involving
qualified imports, import grouping, and indentation.
Change-Id: Ia45839f3e65e15a34e2a2793fd21b83e4fc891d7
Needed-By: I158ea10f104549dd4f0f3ff777b39feb5886642e
The jenkins check was dying sometimes, causing the entire script to
abort instead of allowing a retry.
Also quiet the warnings from urllib3 about not having certificates set
up.
Change-Id: I013d30478cda6b5e56ba3fe1381f6628b38501a6
Use parentheses for `print`, 0o for an octal literal, "as" for except.
import print_function from __future__.
Change-Id: Ie76910c3e0a03e4a103f612639a1b74e84f182bb
If zuul gives us a bad response, causing requests to throw an error,
sleep a bit and try again instead of dying.
Change-Id: Ifa1cc1524030e89c2ba97899bb90714faf3d05dd
The usage of /usr/bin/env ensures that the first interpreter
found in the environment's $PATH variable is used. This should
be preferred.
Change-Id: I4011ec477534f920092cc323a26e75ff26a90051
Some -tarball jobs now build .whl artifacts, and wait_for_tarball.py
displays a message reporting the first of the job artifacts filename
as the "built tarball". Use the last artifact filename in the
displayed message instead.
Change-Id: If1054ae93b832b5923d59e3ef12c719600b6b079
Due to delays in the prerelease queue, wait_for_tarball would sometimes
shortcircuit and return 'None' jobs, or timeout completely. This fixes
both issues.
Change-Id: Iac054a2b22d8db1cf0d543c8ac0fdf432ea08490