summaryrefslogtreecommitdiff
path: root/src/backend/download.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-07 18:55:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-07 18:55:23 +0100
commitc8b3803ba3a0a5dd0d61d2ae178b8977c397b1b7 (patch)
tree396029be40be66f859c0c65a76aeda047503e574 /src/backend/download.py
parentf5b227fc269a4cf6c5f8597b9183e780cb92e28f (diff)
download : show why and where we use output_redirection (aka, graphical interface)
Diffstat (limited to 'src/backend/download.py')
-rw-r--r--src/backend/download.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/download.py b/src/backend/download.py
index c93f9af..53fa936 100644
--- a/src/backend/download.py
+++ b/src/backend/download.py
@@ -10,7 +10,7 @@ import sisyphus.getfs
import sisyphus.killemerge
-def start(redir_out=False, dl_world=False):
+def start(dl_world=False, gfx_ui=False):
dl_list = []
if dl_world:
@@ -28,7 +28,7 @@ def start(redir_out=False, dl_world=False):
args = ['--nodeps', '--quiet', '--verbose', '--getbinpkg', '--fetchonly', '--rebuilt-binaries',
'--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n'] + list(dl_list)
- if redir_out:
+ if gfx_ui:
p_exe = subprocess.Popen(
['emerge'] + args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user