summaryrefslogtreecommitdiff
path: root/src/backend/solvedeps.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 19:05:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 19:05:15 +0000
commit36e2fca70465e2e658570bcdf276d5ca644125bb (patch)
treed787c3cde5ce14e3cd272e187e3f131765289395 /src/backend/solvedeps.py
parent0b4cdf8f6b57160fd77c3a45165fdb7fa371e31c (diff)
portageExec -> p_exe
Diffstat (limited to 'src/backend/solvedeps.py')
-rw-r--r--src/backend/solvedeps.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/solvedeps.py b/src/backend/solvedeps.py
index 5e66465..85f3115 100644
--- a/src/backend/solvedeps.py
+++ b/src/backend/solvedeps.py
@@ -12,9 +12,9 @@ def pkg(pkgname):
areBinaries = []
areSources = []
needsConfig = int()
- portageExec = subprocess.Popen(['emerge', '--quiet', '--pretend', '--getbinpkg', '--rebuilt-binaries', '--with-bdeps=y',
- '--misspell-suggestion=n', '--fuzzy-search=n'] + list(pkgname), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- stdout, stderr = portageExec.communicate()
+ p_exe = subprocess.Popen(['emerge', '--quiet', '--pretend', '--getbinpkg', '--rebuilt-binaries', '--with-bdeps=y',
+ '--misspell-suggestion=n', '--fuzzy-search=n'] + list(pkgname), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ stdout, stderr = p_exe.communicate()
for portageOutput in stderr.decode('utf-8').splitlines():
if "The following keyword changes are necessary to proceed:" in portageOutput:
@@ -50,9 +50,9 @@ def world():
areBinaries = []
areSources = []
needsConfig = int()
- portageExec = subprocess.Popen(['emerge', '--quiet', '--update', '--deep', '--newuse', '--pretend', '--getbinpkg', '--rebuilt-binaries',
- '--backtrack=100', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n', '@world'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- stdout, stderr = portageExec.communicate()
+ p_exe = subprocess.Popen(['emerge', '--quiet', '--update', '--deep', '--newuse', '--pretend', '--getbinpkg', '--rebuilt-binaries',
+ '--backtrack=100', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n', '@world'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ stdout, stderr = p_exe.communicate()
for portageOutput in stderr.decode('utf-8').splitlines():
if "The following keyword changes are necessary to proceed:" in portageOutput: