Skip to content

Commit b73c8d1

Browse files
committed
conda: hide download progressbars
1 parent c05681f commit b73c8d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Orange/canvas/application/addons.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,11 +886,11 @@ def _find_conda(self):
886886
return conda
887887

888888
def install(self, pkg):
889-
cmd = ["conda", "install", "--yes", pkg.name]
889+
cmd = ["conda", "install", "--yes" "--quiet", pkg.name]
890890
run_command(cmd, raise_on_fail=False)
891891

892892
def upgrade(self, pkg):
893-
cmd = ["conda", "upgrade", "--yes", pkg.name]
893+
cmd = ["conda", "upgrade", "--yes", "--quiet", pkg.name]
894894
run_command(cmd, raise_on_fail=False)
895895

896896
def uninstall(self, dist):
@@ -932,6 +932,7 @@ def run_command(command, raise_on_fail=True):
932932
if process.returncode != 0:
933933
log.info("Command %s failed with %s",
934934
" ".join(command), process.returncode)
935+
log.debug("Output:\n%s", "\n".join(output))
935936
if raise_on_fail:
936937
raise CommandFailed(command, process.returncode, output)
937938

0 commit comments

Comments
 (0)