Commit 3b845509 authored by Alexandru Băluț's avatar Alexandru Băluț Committed by Thibault Saunier

flatpak: Avoid spam about dev tools already installed

parent 4cea66a0
Pipeline #10012 failed with stage
in 30 minutes and 47 seconds
......@@ -557,7 +557,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
Console.message(
"Installing development tools in the Python virtual env: %s", pip_modules)
subprocess.check_call(
". %s && pip install -U %s" % (activate_script, pip_modules),
". %s && pip install -q -U %s" % (activate_script, pip_modules),
shell=True)
# git-pylint-commit-hook must run pylint in the sandbox so it uses
......@@ -567,7 +567,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
pip_modules = ["pylint"]
Console.message(
"Installing development tools in the sandbox: %s", pip_modules)
self.run_in_sandbox("pip3", "install", "-U", "--user", *pip_modules,
self.run_in_sandbox("pip3", "install", "-q", "-U", "--user", *pip_modules,
exit_on_failure=True)
def run_in_sandbox(self, *args, exit_on_failure=False, cwd=None):
......
Markdown is supported
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