Silence pip output
This commit is contained in:
parent
e733694f2d
commit
879bb6f79e
@ -19,7 +19,10 @@ class Pip(Action):
|
|||||||
raise Exception('Could not find pip nor python')
|
raise Exception('Could not find pip nor python')
|
||||||
|
|
||||||
# ensure pip module presence
|
# 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 result.rc != 0:
|
||||||
if not os.path.exists('get-pip.py'):
|
if not os.path.exists('get-pip.py'):
|
||||||
req = request.urlopen(
|
req = request.urlopen(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user