Commit f53318ac authored by Jürgen Haas's avatar Jürgen Haas
Browse files

ansible-inventories/lakedrops#67 Add new option --disable-pip-version-check to...

ansible-inventories/lakedrops#67 Add new option --disable-pip-version-check to pip to avoid breaking json
parent 49702996
Pipeline #570298 passed with stage
in 48 seconds
......@@ -38,7 +38,7 @@ def main():
changed = (lsb_release == '16') or (lsb_release == '18') or (lsb_release == '20') or (lsb_release == '22')
if changed:
process = Popen([executable, 'list', '--outdated', '--format=json'], stdout=PIPE, stderr=STDOUT)
process = Popen([executable, 'list', '--disable-pip-version-check', '--outdated', '--format=json'], stdout=PIPE, stderr=STDOUT)
process.wait()
updates = []
for line in process.stdout.read().decode('utf8').split("\n"):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment