From 879bb6f79eb7cac10802f6cfade7d08a4dd347a5 Mon Sep 17 00:00:00 2001 From: jpic Date: Sun, 31 May 2020 13:24:31 +0200 Subject: [PATCH] Silence pip output --- shlax/actions/pip.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shlax/actions/pip.py b/shlax/actions/pip.py index 7d8e8c7..949442b 100644 --- a/shlax/actions/pip.py +++ b/shlax/actions/pip.py @@ -19,7 +19,10 @@ class Pip(Action): raise Exception('Could not find pip nor python') # ensure pip module presence - result = await target.exec(python, '-m', 'pip', raises=False) + result = await target.exec( + python, '-m', 'pip', + raises=False, quiet=True + ) if result.rc != 0: if not os.path.exists('get-pip.py'): req = request.urlopen(