mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 18:57:06 +01:00
reckless: further verbosity/squelch of pip output
This commit is contained in:
parent
8653d1200f
commit
70fc702ee4
1 changed files with 5 additions and 1 deletions
|
@ -376,7 +376,11 @@ def _install_plugin(src: InstInfo) -> bool:
|
|||
if src.deps is not None:
|
||||
logging.debug(f'installing dependencies using {src.deps}')
|
||||
procedure = install_methods[src.deps]
|
||||
pip = Popen(procedure, cwd=plugin_path, stdout=PIPE)
|
||||
# Verbose output requested.
|
||||
if logging.root.level < logging.WARNING:
|
||||
pip = Popen(procedure, cwd=plugin_path)
|
||||
else:
|
||||
pip = Popen(procedure, cwd=plugin_path, stdout=PIPE, stderr=PIPE)
|
||||
pip.wait()
|
||||
if pip.returncode == 0:
|
||||
print('dependencies installed successfully')
|
||||
|
|
Loading…
Add table
Reference in a new issue