mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
reckless: further verbosity/squelch of pip output
This commit is contained in:
parent
8653d1200f
commit
70fc702ee4
@ -376,7 +376,11 @@ def _install_plugin(src: InstInfo) -> bool:
|
|||||||
if src.deps is not None:
|
if src.deps is not None:
|
||||||
logging.debug(f'installing dependencies using {src.deps}')
|
logging.debug(f'installing dependencies using {src.deps}')
|
||||||
procedure = install_methods[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()
|
pip.wait()
|
||||||
if pip.returncode == 0:
|
if pip.returncode == 0:
|
||||||
print('dependencies installed successfully')
|
print('dependencies installed successfully')
|
||||||
|
Loading…
Reference in New Issue
Block a user