summaryrefslogtreecommitdiff
path: root/src/backend/uninstall.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/uninstall.py
parent0b4cdf8f6b57160fd77c3a45165fdb7fa371e31c (diff)
portageExec -> p_exe
Diffstat (limited to 'src/backend/uninstall.py')
-rw-r--r--src/backend/uninstall.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/uninstall.py b/src/backend/uninstall.py
index 77fa479..3d31da5 100644
--- a/src/backend/uninstall.py
+++ b/src/backend/uninstall.py
@@ -12,9 +12,9 @@ import sisyphus.syncdb
def start(pkgname):
if sisyphus.checkenv.root():
- portageExec = subprocess.Popen(
+ p_exe = subprocess.Popen(
['emerge', '--quiet', '--depclean', '--ask'] + list(pkgname))
- portageExec.wait()
+ p_exe.wait()
sisyphus.syncdb.localTable()
else:
print(sisyphus.getcolor.bright_red +
@@ -24,9 +24,9 @@ def start(pkgname):
def fstart(pkgname):
if sisyphus.checkenv.root():
- portageExec = subprocess.Popen(
+ p_exe = subprocess.Popen(
['emerge', '--quiet', '--unmerge', '--ask'] + list(pkgname))
- portageExec.wait()
+ p_exe.wait()
sisyphus.syncdb.localTable()
else:
print(sisyphus.getcolor.bright_red +
@@ -35,13 +35,13 @@ def fstart(pkgname):
def xstart(pkgname):
- portageExec = subprocess.Popen(
+ p_exe = subprocess.Popen(
['emerge', '--depclean'] + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killemerge.start, portageExec)
+ atexit.register(sisyphus.killemerge.start, p_exe)
- for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
+ for portageOutput in io.TextIOWrapper(p_exe.stdout, encoding="utf-8"):
print(portageOutput.rstrip())
- portageExec.wait()
+ p_exe.wait()
sisyphus.syncdb.localTable()